]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
multi: set CURLM_CALL_MULTI_PERFORM after switch to DOING_MORE
authorDaniel Stenberg <daniel@haxx.se>
Thu, 5 Oct 2023 21:29:41 +0000 (23:29 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 6 Oct 2023 06:49:58 +0000 (08:49 +0200)
Since there is nothing to wait for there. Avoids the test 1233 hang
reported in #12033.

Reported-by: Dan Fandrich
Closes #12042

lib/multi.c

index 3170adcd7dd316f5703ab2208b8352339384ac92..cefe11a530f95310a26321bf7d5653852776fed7 100644 (file)
@@ -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 */