From 470551b7fc16499c409ba8d539e204a2481981c2 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 7 Aug 2019 07:48:37 +0200 Subject: quiche: flush egress in h3_stream_recv() too --- lib/vquic/quiche.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/vquic') 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; -- cgit v1.2.3