]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Bump the allowed HTTP headers in statschannel to 100
authorOndřej Surý <ondrej@isc.org>
Thu, 10 Nov 2022 15:34:26 +0000 (16:34 +0100)
committerOndřej Surý <ondrej@isc.org>
Thu, 10 Nov 2022 15:34:26 +0000 (16:34 +0100)
Firefox 90+ apparently sends more than 10 headers, so we need to bump
the number to some higher number.  Bump it to 100 just to be on a save
side, this is for internal use only anyway.

lib/isc/httpd.c

index aee63f8a93289b05ec12b5b3bd23e075d76f5176..c91847088d7f2432433ebf7af50fb191d3584567 100644 (file)
@@ -51,7 +51,7 @@
  */
 #define HTTP_RECVLEN        ISC_NETMGR_TCP_RECVBUF_SIZE * 2
 #define HTTP_SENDLEN        ISC_NETMGR_TCP_RECVBUF_SIZE
-#define HTTP_HEADERS_NUM     10
+#define HTTP_HEADERS_NUM     100
 #define HTTP_MAX_REQUEST_LEN 4096
 
 #define HTTPD_CLOSE         0x0001 /* Got a Connection: close header */