ah change default header len to 4096 and pool size 4
Users are starting to appear with clients sending more than the default max header content buffer of 1024... with the advent of the ah pool the old reasons for keeping this modest no longer apply, so up it to 4096 and reduce the default pool size to 4 from 16 to keep the overall memory usage the same.
This commit is contained in:
parent
2b304a933f
commit
5ab523ec3f
1 changed files with 2 additions and 2 deletions
|
@ -320,10 +320,10 @@ extern "C" {
|
|||
#endif
|
||||
|
||||
#ifndef LWS_DEF_HEADER_LEN
|
||||
#define LWS_DEF_HEADER_LEN 1024
|
||||
#define LWS_DEF_HEADER_LEN 4096
|
||||
#endif
|
||||
#ifndef LWS_DEF_HEADER_POOL
|
||||
#define LWS_DEF_HEADER_POOL 16
|
||||
#define LWS_DEF_HEADER_POOL 4
|
||||
#endif
|
||||
#ifndef LWS_MAX_PROTOCOLS
|
||||
#define LWS_MAX_PROTOCOLS 5
|
||||
|
|
Loading…
Add table
Reference in a new issue