From: Daniel Stenberg Date: Thu, 26 Sep 2019 14:06:11 +0000 (+0200) Subject: quiche: don't close connection at end of stream! X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b6532b809f566462b9df984500c0b3f55eef6399;p=curl quiche: don't close connection at end of stream! --- 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: