From b6532b809f566462b9df984500c0b3f55eef6399 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 26 Sep 2019 16:06:11 +0200 Subject: quiche: don't close connection at end of stream! --- lib/vquic/quiche.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/vquic/quiche.c b/lib/vquic/quiche.c index 7924ea55b..55381def0 100644 --- a/lib/vquic/quiche.c +++ b/lib/vquic/quiche.c @@ -459,9 +459,7 @@ static ssize_t h3_stream_recv(struct connectdata *conn, break; case QUICHE_H3_EVENT_FINISHED: - if(quiche_conn_close(qs->conn, true, 0, NULL, 0) < 0) { - ; - } + streamclose(conn, "End of stream"); recvd = 0; /* end of stream */ break; default: -- cgit v1.2.1