From 6dd6654f7551799bc32a8a2f5a11cfd6cd7d3448 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 5 Oct 2023 23:29:41 +0200 Subject: [PATCH] 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 --- lib/multi.c | 1 + 1 file changed, 1 insertion(+) 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 */