From 1b1443a8ed201673f5de8c20b2a00ffcdd0078ca Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Tue, 5 Apr 2022 16:47:07 +0200 Subject: [PATCH] ngtcp2: fix QUIC_IDLE_TIMEOUT QUIC_IDLE_TIMEOUT should be of type ngtcp2_duration which is nanoseconds resolution. Closes #8678 --- lib/vquic/ngtcp2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/vquic/ngtcp2.c b/lib/vquic/ngtcp2.c index d96061bb9c..0b30854a7e 100644 --- a/lib/vquic/ngtcp2.c +++ b/lib/vquic/ngtcp2.c @@ -83,7 +83,7 @@ struct h3out { #define QUIC_MAX_STREAMS (256*1024) #define QUIC_MAX_DATA (1*1024*1024) -#define QUIC_IDLE_TIMEOUT 60000 /* milliseconds */ +#define QUIC_IDLE_TIMEOUT (60*NGTCP2_SECONDS) #ifdef USE_OPENSSL #define QUIC_CIPHERS \ -- 2.47.3