From e02e9b07f8963d4d511804a8001de52591fe3574 Mon Sep 17 00:00:00 2001 From: zhaojh329 Date: Mon, 7 Sep 2020 00:41:16 +0800 Subject: [PATCH] Set UHTTPD_MAX_HEADER_NUM to 50 Signed-off-by: zhaojh329 --- src/connection.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/connection.h b/src/connection.h index 5a3bf4f..d998372 100644 --- a/src/connection.h +++ b/src/connection.h @@ -34,7 +34,7 @@ #include "config.h" #define UHTTPD_CONNECTION_TIMEOUT 30.0 -#define UHTTPD_MAX_HEADER_NUM 20 +#define UHTTPD_MAX_HEADER_NUM 50 #define CONN_F_SEND_AND_CLOSE (1 << 0) /* Push remaining data and close */ #define CONN_F_SSL_HANDSHAKE_DONE (1 << 1) /* SSL hanshake has completed */