From 7f7bf3cc8981d66fbf3c3bab0841207ac6f6e68d Mon Sep 17 00:00:00 2001 From: Shohei Kameda Date: Tue, 19 Mar 2019 10:51:30 +0900 Subject: [PATCH] Update max_heaser_data deafult from 4K to 20K (#163) --- src/server.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/server.c b/src/server.c index 2f6be83..9d7703e 100644 --- a/src/server.c +++ b/src/server.c @@ -240,6 +240,7 @@ main(int argc, char **argv) { info.max_http_header_pool = 16; info.options = LWS_SERVER_OPTION_VALIDATE_UTF8 | LWS_SERVER_OPTION_DISABLE_IPV6; info.extensions = extensions; + info.max_http_header_data = 20480; int debug_level = LLL_ERR | LLL_WARN | LLL_NOTICE; char iface[128] = ""; -- 2.43.4