]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
daemon/quic_common: adjust idle timer and max concurent conn limits to accommodate...
authorFrantisek Tobias <frantisek.tobias@nic.cz>
Mon, 3 Nov 2025 14:31:13 +0000 (15:31 +0100)
committerFrantisek Tobias <frantisek.tobias@nic.cz>
Wed, 7 Jan 2026 13:39:14 +0000 (14:39 +0100)
daemon/quic_common.h

index 28e6664546a5f0221f3b0ae5e783e86f9c1bdc0d..5a77c9d4c9d24d789ca888e30af76b7deab1f389 100644 (file)
@@ -49,14 +49,14 @@ typedef enum {
 #define BUCKETS_PER_CONNS 8
 
 #define MAX_STREAMS_BIDI 1024
-#define MAX_STREAMS_ACTIVE 16
+#define MAX_STREAMS_ACTIVE 64
 
 #define MAX_QUIC_PKT_SIZE 65536
 #define MAX_QUIC_FRAME_SIZE 65536
 #define QUIC_MAX_SEND_PER_RECV 4
 
-#define QUIC_CONN_IDLE_TIMEOUT (3 * NGTCP2_SECONDS)
-#define QUIC_HS_IDLE_TIMEOUT   (3 * NGTCP2_SECONDS)
+#define QUIC_CONN_IDLE_TIMEOUT (5 * NGTCP2_SECONDS)
+#define QUIC_HS_IDLE_TIMEOUT   (5 * NGTCP2_SECONDS)
 
 /* HACK adjust pointer of conn->streams head so it points to
  * struct pl_quic_stream_sess_data, this is hacky */