aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2019-08-07 07:48:37 +0200
committerDaniel Stenberg <daniel@haxx.se>2019-08-07 07:48:37 +0200
commit470551b7fc16499c409ba8d539e204a2481981c2 (patch)
tree3e1a58c1f816c5c1a2865b8faa4ea8fe53c7e4a2 /lib
parent405d34280b5cc081c6958ba2afe2686e38903706 (diff)
quiche: flush egress in h3_stream_recv() too
Diffstat (limited to 'lib')
-rw-r--r--lib/vquic/quiche.c4
1 files changed, 4 insertions, 0 deletions
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;