From b20ac93f41c7a05168586a78071264e4210cd67f Mon Sep 17 00:00:00 2001 From: Stefan Eissing Date: Fri, 20 Sep 2024 15:58:21 +0200 Subject: [PATCH] multi.c: make stronger check for paused transfer before asserting With higher parallelism in CI, the ASSERT triggered on pause tests. Strengthen the check. We might want to think about removing KEEP_RECV_PAUSE|KEEP_SEND_PAUSE altogether. Closes #14981 --- lib/multi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/multi.c b/lib/multi.c index 6d2c3922ed..d4097d24e5 100644 --- a/lib/multi.c +++ b/lib/multi.c @@ -1126,6 +1126,7 @@ static void multi_getsock(struct Curl_easy *data, if(expect_sockets && !ps->num && !(data->req.keepon & (KEEP_RECV_PAUSE|KEEP_SEND_PAUSE)) && + !Curl_cwriter_is_paused(data) && !Curl_creader_is_paused(data) && Curl_conn_is_ip_connected(data, FIRSTSOCKET)) { infof(data, "WARNING: no socket in pollset, transfer may stall!"); DEBUGASSERT(0);