From: Shohei Kameda Date: Tue, 19 Mar 2019 01:51:30 +0000 (+0900) Subject: Update max_heaser_data deafult from 4K to 20K (#163) X-Git-Url: http://git.prime8.dev/?a=commitdiff_plain;h=7f7bf3cc8981d66fbf3c3bab0841207ac6f6e68d;p=ttyd.git Update max_heaser_data deafult from 4K to 20K (#163) --- 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] = "";