From: Daniel Stenberg Date: Wed, 7 Aug 2019 05:48:37 +0000 (+0200) Subject: quiche: flush egress in h3_stream_recv() too X-Git-Tag: curl-7_66_0~138 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=470551b7fc16499c409ba8d539e204a2481981c2;p=curl quiche: flush egress in h3_stream_recv() too --- diff --git a/lib/vquic/quiche.c b/lib/vquic/quiche.c index 68786540e..4362ba98c 100644 --- a/lib/vquic/quiche.c +++ b/lib/vquic/quiche.c @@ -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;