summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2019-08-28 14:39:07 +0200
committerDaniel Stenberg <daniel@haxx.se>2019-08-29 19:23:52 +0200
commit7bac3135dfb0a71d367894b25c1debfe4fb54106 (patch)
tree79b12579bf5cfcb15c2f7d1a899fb1b69542fbaa
parent484b6f345fc42ad907a3c5dee6c7b8c225f5b924 (diff)
downloadcurl-7bac3135dfb0a71d367894b25c1debfe4fb54106.tar.gz
ngtcp2: on h3 stream close, call expire
... to trigger a new read to detect the stream close! Closes #4275
-rw-r--r--lib/vquic/ngtcp2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/vquic/ngtcp2.c b/lib/vquic/ngtcp2.c
index 19e4a8023..d98be181c 100644
--- a/lib/vquic/ngtcp2.c
+++ b/lib/vquic/ngtcp2.c
@@ -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;
}