ngtcp2: fix QUIC_IDLE_TIMEOUT

QUIC_IDLE_TIMEOUT should be of type ngtcp2_duration which is
nanoseconds resolution.

Closes #8678
This commit is contained in:
Tatsuhiro Tsujikawa 2022-04-05 16:47:07 +02:00 committed by Daniel Stenberg
parent 4a8f6869db
commit 1b1443a8ed
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2

View file

@ -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 \