diff --git a/lib/vquic/quiche.c b/lib/vquic/quiche.c index 7924ea55b3..55381def0c 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: