mark the handle as no longer having a broken pipe when a transfer has failed
authorDaniel Stenberg <daniel@haxx.se>
Tue, 10 Oct 2006 14:23:34 +0000 (14:23 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 10 Oct 2006 14:23:34 +0000 (14:23 +0000)
lib/multi.c

index b92c050..e901bdd 100644 (file)
@@ -1247,6 +1247,8 @@ static CURLMcode multi_runsingle(struct Curl_multi *multi,
          * then we go to completed and consider this transfer aborted.
          */
         easy->easy_handle->state.is_in_pipeline = FALSE;
+        easy->easy_handle->state.pipe_broke = FALSE;
+
         if(easy->easy_conn) {
           /* if this has a connection, unsubscribe from the pipelines */
           easy->easy_conn->writechannel_inuse = FALSE;