mirror of
https://github.com/moparisthebest/curl
synced 2024-12-24 00:58:48 -05:00
quiche: expire when poll returned data
... to make sure we continue draining the queue until empty Closes #4281
This commit is contained in:
parent
4d9e324771
commit
c30aff4f88
@ -475,6 +475,9 @@ static ssize_t h3_stream_recv(struct connectdata *conn,
|
|||||||
}
|
}
|
||||||
|
|
||||||
*curlcode = (-1 == recvd)? CURLE_AGAIN : CURLE_OK;
|
*curlcode = (-1 == recvd)? CURLE_AGAIN : CURLE_OK;
|
||||||
|
if(recvd >= 0)
|
||||||
|
/* Get this called again to drain the event queue */
|
||||||
|
Curl_expire(conn->data, 0, EXPIRE_QUIC);
|
||||||
return recvd;
|
return recvd;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user