Skip to content
Permalink
Browse files

quiche: expire when poll returned data

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

Closes #4281
  • Loading branch information...
bagder committed Aug 29, 2019
1 parent 4d9e324 commit c30aff4f88e55c7255cbcbf4405577e9f4bcd63e
Showing with 3 additions and 0 deletions.
  1. +3 −0 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;
}

0 comments on commit c30aff4

Please sign in to comment.
You can’t perform that action at this time.