From: Daniel Stenberg Date: Thu, 5 Oct 2023 21:29:41 +0000 (+0200) Subject: multi: set CURLM_CALL_MULTI_PERFORM after switch to DOING_MORE X-Git-Tag: curl-8_4_0~32 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6dd6654f7551799bc32a8a2f5a11cfd6cd7d3448;p=thirdparty%2Fcurl.git multi: set CURLM_CALL_MULTI_PERFORM after switch to DOING_MORE Since there is nothing to wait for there. Avoids the test 1233 hang reported in #12033. Reported-by: Dan Fandrich Closes #12042 --- diff --git a/lib/multi.c b/lib/multi.c index 3170adcd7d..cefe11a530 100644 --- a/lib/multi.c +++ b/lib/multi.c @@ -2221,6 +2221,7 @@ static CURLMcode multi_runsingle(struct Curl_multi *multi, /* we're supposed to do more, but we need to sit down, relax and wait a little while first */ multistate(data, MSTATE_DOING_MORE); + rc = CURLM_CALL_MULTI_PERFORM; } else { /* we're done with the DO, now DID */