From da8b6ea1766130f9a10b62c12ac93ec2c413d439 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 --- lib/vquic/quiche.c | 3 +++ 1 file changed, 3 insertions(+) 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.1