mirror of
https://github.com/curl/curl.git
synced 2026-07-25 08:27:34 +03:00
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
This commit is contained in:
parent
fcbe930ef6
commit
b20ac93f41
1 changed files with 1 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue