]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
MINOR: h3: change default settings
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 24 Aug 2021 13:16:58 +0000 (15:16 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 23 Sep 2021 13:27:25 +0000 (15:27 +0200)
In particular, advertise a 0-length dynamic table for QPACK.

src/h3.c

index 0993713f02b13a82c65b656754fc9de277a9662a..c90e63a68aa1395f8d6057996b013b3ce6939f81 100644 (file)
--- a/src/h3.c
+++ b/src/h3.c
@@ -39,9 +39,9 @@
 #define H3_CF_SETTINGS_SENT  0x00000001
 
 /* Default settings */
-static uint64_t h3_settings_qpack_max_table_capacity = 4096;
-static uint64_t h3_settings_qpack_blocked_streams = 100;
-static uint64_t h3_settings_max_field_section_size; /* Unlimited */
+static uint64_t h3_settings_qpack_max_table_capacity = 0;
+static uint64_t h3_settings_qpack_blocked_streams = 4096;
+static uint64_t h3_settings_max_field_section_size = QUIC_VARINT_8_BYTE_MAX; /* Unlimited */
 
 struct h3 {
        struct qcc *qcc;