]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
quiche: adjust quiche `QUIC_IDLE_TIMEOUT` to 60s
authortrrui-huawei <oldduckruirui@gmail.com>
Fri, 11 Aug 2023 03:30:13 +0000 (11:30 +0800)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 15 Aug 2023 12:37:54 +0000 (14:37 +0200)
Set the `QUIC_IDLE_TIMEOUT` parameter to match ngtcp2 for consistency.

lib/vquic/curl_quiche.c

index b43a078c9d9ee1cc041ba403f94cb0b3f7ed51c4..298439a2476cc6954b686e71de2ed9214361884d 100644 (file)
@@ -56,7 +56,7 @@
 /* #define DEBUG_QUICHE */
 
 #define QUIC_MAX_STREAMS              (100)
-#define QUIC_IDLE_TIMEOUT        (5 * 1000) /* milliseconds */
+#define QUIC_IDLE_TIMEOUT        (60 * 1000) /* milliseconds */
 
 #define H3_STREAM_WINDOW_SIZE  (128 * 1024)
 #define H3_STREAM_CHUNK_SIZE    (16 * 1024)