From c30aff4f88e55c7255cbcbf4405577e9f4bcd63e Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 29 Aug 2019 18:56:24 +0200 Subject: quiche: expire when poll returned data ... to make sure we continue draining the queue until empty Closes #4281 --- lib/vquic/quiche.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/vquic') 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; } -- cgit v1.2.3