mirror of
https://github.com/owntone/owntone-server.git
synced 2025-01-14 08:15:02 -05:00
[ws] Set header data space to 4096
Hopefully fixes the "LWS Ran out of header data space" error seen in the Chrome browser.
This commit is contained in:
parent
a2ec7ee28f
commit
56564dec87
@ -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