1
0
mirror of https://github.com/moparisthebest/curl synced 2025-01-11 05:58:01 -05:00

quiche: don't close connection at end of stream!

This commit is contained in:
Daniel Stenberg 2019-09-26 16:06:11 +02:00
parent 2377465901
commit b6532b809f
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View 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: