diff options
-rw-r--r-- | lib/multi.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/multi.c b/lib/multi.c index d7381e7fa..5ccadc2a8 100644 --- a/lib/multi.c +++ b/lib/multi.c @@ -1099,14 +1099,14 @@ static CURLMcode multi_runsingle(struct Curl_multi *multi, else #endif multistate(easy, CURLM_STATE_PROTOCONNECT); + } - else { + else /* after the connect has completed, go WAITDO or DO */ multistate(easy, multi->pipelining_enabled? CURLM_STATE_WAITDO:CURLM_STATE_DO); - result = CURLM_CALL_MULTI_PERFORM; - } + result = CURLM_CALL_MULTI_PERFORM; } break; |