aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2019-09-26 16:06:11 +0200
committerDaniel Stenberg <daniel@haxx.se>2019-09-26 16:06:11 +0200
commitb6532b809f566462b9df984500c0b3f55eef6399 (patch)
tree6c946c0c7cf90e3a08e3f2df21de3d66a5396a56 /lib
parent2377465901f74f8ad5160bbd55845911fa5ae8c3 (diff)
quiche: don't close connection at end of stream!
Diffstat (limited to 'lib')
-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: