mirror of
https://github.com/moparisthebest/curl
synced 2024-11-04 16:45:06 -05: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