]> granicus.if.org Git - curl/commitdiff
ngtcp2: on h3 stream close, call expire
authorDaniel Stenberg <daniel@haxx.se>
Wed, 28 Aug 2019 12:39:07 +0000 (14:39 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 29 Aug 2019 17:23:52 +0000 (19:23 +0200)
... to trigger a new read to detect the stream close!

Closes #4275

lib/vquic/ngtcp2.c

index 19e4a8023c578ce9f6990e4306946561b9c64703..d98be181c594cfc13bf235df1a1b3365cdfb49b6 100644 (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;
 }