]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
when going to completed due to error, mark the handle as not in a pipeline
authorDaniel Stenberg <daniel@haxx.se>
Mon, 9 Oct 2006 21:24:34 +0000 (21:24 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 9 Oct 2006 21:24:34 +0000 (21:24 +0000)
anymore

lib/multi.c

index 041209c494ea3dbc08e1c59cc9ee023468ce25d8..b92c050dee9f008c00635e74813a6d0a08f070dd 100644 (file)
@@ -1246,6 +1246,7 @@ static CURLMcode multi_runsingle(struct Curl_multi *multi,
          * If an error was returned, and we aren't in completed state now,
          * then we go to completed and consider this transfer aborted.
          */
+        easy->easy_handle->state.is_in_pipeline = FALSE;
         if(easy->easy_conn) {
           /* if this has a connection, unsubscribe from the pipelines */
           easy->easy_conn->writechannel_inuse = FALSE;