1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-24 17:18:48 -05:00

quiche: expire when poll returned data

... to make sure we continue draining the queue until empty

Closes #4281
This commit is contained in:
Daniel Stenberg 2019-08-29 18:56:24 +02:00
parent 4d9e324771
commit c30aff4f88
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -475,6 +475,9 @@ static ssize_t h3_stream_recv(struct connectdata *conn,
} }
*curlcode = (-1 == recvd)? CURLE_AGAIN : CURLE_OK; *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; return recvd;
} }