mirror of
https://github.com/curl/curl.git
synced 2024-12-03 06:20:31 +08:00
quiche: flush egress in h3_stream_recv() too
This commit is contained in:
parent
405d34280b
commit
470551b7fc
@ -352,6 +352,10 @@ static ssize_t h3_stream_recv(struct connectdata *conn,
|
||||
|
||||
quiche_h3_event_free(ev);
|
||||
}
|
||||
if(flush_egress(conn, sockfd)) {
|
||||
*curlcode = CURLE_SEND_ERROR;
|
||||
return -1;
|
||||
}
|
||||
|
||||
*curlcode = (-1 == recvd)? CURLE_AGAIN : CURLE_OK;
|
||||
return recvd;
|
||||
|
Loading…
Reference in New Issue
Block a user