mirror of
https://github.com/moparisthebest/curl
synced 2024-12-24 09:08:49 -05:00
pause: avoid updating socket if done was already called
... avoids unnecesary recursive risk when the transfer is already done. Reported-by: Richard Bowker Fixes #4563 Closes #4574
This commit is contained in:
parent
07cf042ece
commit
32747aafa0
@ -1027,9 +1027,10 @@ CURLcode curl_easy_pause(struct Curl_easy *data, int action)
|
|||||||
Curl_update_timer(data->multi);
|
Curl_update_timer(data->multi);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* This transfer may have been moved in or out of the bundle, update
|
if(!data->state.done)
|
||||||
the corresponding socket callback, if used */
|
/* This transfer may have been moved in or out of the bundle, update the
|
||||||
Curl_updatesocket(data);
|
corresponding socket callback, if used */
|
||||||
|
Curl_updatesocket(data);
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user