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-28 14:39:07 +0200
commit7458b37c0a7a0fe5a0a7743fce80f023a4142bd6 (patch)
tree3986b4d69d24957ba7a06b0385171de0319eb381
parent0690b3330cee7f7d9469300d2c16c7a6b850281a (diff)
downloadcurl-bagder/ngtcp2-expire-on-close.tar.gz
ngtcp2: on h3 stream close, call expirebagder/ngtcp2-expire-on-close
... to trigger a new read to detect the stream close!
-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 d616667d6..90af20779 100644
--- a/lib/vquic/ngtcp2.c
+++ b/lib/vquic/ngtcp2.c
@@ -833,7 +833,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;
}