aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2019-08-29 18:56:24 +0200
committerDaniel Stenberg <daniel@haxx.se>2019-08-30 17:41:16 +0200
commitc30aff4f88e55c7255cbcbf4405577e9f4bcd63e (patch)
tree7ac7e0013db6db40d68b4b7144e01ddaa6be2f79 /lib
parent4d9e3247718654cfce75e847615d0dcebbc1dba6 (diff)
quiche: expire when poll returned data
... to make sure we continue draining the queue until empty Closes #4281
Diffstat (limited to 'lib')
-rw-r--r--lib/vquic/quiche.c3
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;
}