mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-27 15:45:56 -05:00
Merge pull request #1041 from chme/ws-header-space
[ws] Set websocket header data space
This commit is contained in:
commit
07f3f808c7
@ -393,6 +393,9 @@ websocket_init(void)
|
||||
info.gid = -1;
|
||||
info.uid = -1;
|
||||
|
||||
// Set header space to avoid "LWS Ran out of header data space" error
|
||||
info.max_http_header_data = 4096;
|
||||
|
||||
// Log levels below NOTICE are only emmited if libwebsockets was built with DEBUG defined
|
||||
lws_set_log_level(LLL_ERR | LLL_WARN | LLL_NOTICE | LLL_INFO | LLL_DEBUG,
|
||||
logger_libwebsockets);
|
||||
|
Loading…
Reference in New Issue
Block a user