multi interface: fix block when CONNECT_ONLY option is used

This commit is contained in:
Gokhan Sengun
2011-12-06 23:41:24 +01:00
committed by Daniel Stenberg
parent 46724b87b7
commit 2b24dd870e
6 changed files with 212 additions and 3 deletions

View File

@@ -1239,7 +1239,7 @@ static CURLMcode multi_runsingle(struct Curl_multi *multi,
easy->easy_conn->bits.close = FALSE;
multistate(easy, CURLM_STATE_DONE);
easy->result = CURLE_OK;
result = CURLM_OK;
result = CURLM_CALL_MULTI_PERFORM;
}
else {
/* Perform the protocol's DO action */