Update max_heaser_data deafult from 4K to 20K (#163)

This commit is contained in:
Shohei Kameda
2019-03-19 10:51:30 +09:00
committed by Shuanglei Tao
parent 7ee47dee4c
commit 7f7bf3cc89

View File

@@ -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] = "";