From: Daniel Stenberg Date: Thu, 29 Aug 2019 16:56:24 +0000 (+0200) Subject: quiche: expire when poll returned data X-Git-Tag: curl-7_66_0~27 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c30aff4f88e55c7255cbcbf4405577e9f4bcd63e;p=curl quiche: expire when poll returned data ... to make sure we continue draining the queue until empty Closes #4281 --- diff --git a/lib/vquic/quiche.c b/lib/vquic/quiche.c index 7968f7e17..7f9b34a1e 100644 --- a/lib/vquic/quiche.c +++ b/lib/vquic/quiche.c @@ -475,6 +475,9 @@ static ssize_t h3_stream_recv(struct connectdata *conn, } *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; }