mirror of
https://github.com/curl/curl.git
synced 2025-01-24 14:15:18 +08:00
mark the handle as no longer having a broken pipe when a transfer has failed
This commit is contained in:
parent
cbcdd337aa
commit
1ce7b48057
@ -1247,6 +1247,8 @@ static CURLMcode multi_runsingle(struct Curl_multi *multi,
|
|||||||
* 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;
|
easy->easy_handle->state.is_in_pipeline = FALSE;
|
||||||
|
easy->easy_handle->state.pipe_broke = 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…
Reference in New Issue
Block a user