]> granicus.if.org Git - curl/commitdiff
quiche: don't close connection at end of stream!
authorDaniel Stenberg <daniel@haxx.se>
Thu, 26 Sep 2019 14:06:11 +0000 (16:06 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 26 Sep 2019 14:06:11 +0000 (16:06 +0200)
lib/vquic/quiche.c

index 7924ea55b3c2b31687cd79cfff880bd9c4c91cb0..55381def0cd3ce226f489483e7c5831c1c228e8a 100644 (file)
@@ -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: