1
0
mirror of https://github.com/moparisthebest/curl synced 2024-08-13 17:03:50 -04:00

ngtcp2: on h3 stream close, call expire

... to trigger a new read to detect the stream close!

Closes #4275
This commit is contained in:
Daniel Stenberg 2019-08-28 14:39:07 +02:00
parent 484b6f345f
commit 7bac3135df
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -703,7 +703,7 @@ static int cb_h3_stream_close(nghttp3_conn *conn, int64_t stream_id,
fprintf(stderr, "cb_h3_stream_close CALLED\n");
stream->closed = TRUE;
Curl_expire(data, 0, EXPIRE_QUIC);
return 0;
}