From: Tatsuhiro Tsujikawa Date: Tue, 5 Apr 2022 14:47:07 +0000 (+0200) Subject: ngtcp2: fix QUIC_IDLE_TIMEOUT X-Git-Tag: curl-7_83_0~70 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1b1443a8ed201673f5de8c20b2a00ffcdd0078ca;p=thirdparty%2Fcurl.git ngtcp2: fix QUIC_IDLE_TIMEOUT QUIC_IDLE_TIMEOUT should be of type ngtcp2_duration which is nanoseconds resolution. Closes #8678 --- 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 \