mirror of
https://github.com/moparisthebest/curl
synced 2025-03-11 15:50:48 -04:00
when going to completed due to error, mark the handle as not in a pipeline
anymore
This commit is contained in:
parent
9263001b21
commit
7d0c58a285
@ -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,
|
* If an error was returned, and we aren't in completed state now,
|
||||||
* then we go to completed and consider this transfer aborted.
|
* then we go to completed and consider this transfer aborted.
|
||||||
*/
|
*/
|
||||||
|
easy->easy_handle->state.is_in_pipeline = FALSE;
|
||||||
if(easy->easy_conn) {
|
if(easy->easy_conn) {
|
||||||
/* if this has a connection, unsubscribe from the pipelines */
|
/* if this has a connection, unsubscribe from the pipelines */
|
||||||
easy->easy_conn->writechannel_inuse = FALSE;
|
easy->easy_conn->writechannel_inuse = FALSE;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user