summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/vquic/quiche.c4
1 files changed, 1 insertions, 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: