mirror of
https://github.com/curl/curl.git
synced 2024-11-27 05:50:21 +08:00
Dmitry Kurochkin's additional pipelining bugfix
This commit is contained in:
parent
3d55877764
commit
ddaa78f08b
@ -944,8 +944,12 @@ static CURLMcode multi_runsingle(struct Curl_multi *multi,
|
||||
easy->result = addHandleToSendOrPendPipeline(easy->easy_handle,
|
||||
easy->easy_conn);
|
||||
if(CURLE_OK == easy->result) {
|
||||
if (easy->easy_handle->state.is_in_pipeline)
|
||||
if (easy->easy_handle->state.is_in_pipeline) {
|
||||
multistate(easy, CURLM_STATE_WAITDO);
|
||||
if(isHandleAtHead(easy->easy_handle,
|
||||
easy->easy_conn->send_pipe))
|
||||
result = CURLM_CALL_MULTI_PERFORM;
|
||||
}
|
||||
else {
|
||||
if(async)
|
||||
/* We're now waiting for an asynchronous name lookup */
|
||||
|
Loading…
Reference in New Issue
Block a user