diff options
author | Daniel Stenberg <daniel@haxx.se> | 2019-08-29 18:56:24 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2019-08-29 18:56:24 +0200 |
commit | da8b6ea1766130f9a10b62c12ac93ec2c413d439 (patch) | |
tree | 6a9f020dc3d90e3bc74016dde51df5a28bab0247 | |
parent | dea1d0a0d15dc732ad62f6378432f6a27bcca541 (diff) | |
download | curl-bagder/quiche-fixes.tar.gz |
quiche: expire when poll returned databagder/quiche-fixes
... to make sure we continue draining the queue until empty
-rw-r--r-- | lib/vquic/quiche.c | 3 |
1 files changed, 3 insertions, 0 deletions
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; } |