1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

web: fix underrun of http header pool

This commit is contained in:
Steffen Vogel 2018-12-04 00:26:13 +01:00
parent 452a329f39
commit 13bd2c2800

View file

@ -238,7 +238,11 @@ void Web::start()
.uid = -1,
.options = LWS_SERVER_OPTION_EXPLICIT_VHOSTS | LWS_SERVER_OPTION_DO_SSL_GLOBAL_INIT,
.user = (void *) this,
.mounts = mounts,
#if LWS_LIBRARY_VERSION_NUMBER <= 3000000
// https://github.com/warmcat/libwebsockets/issues/1249
.max_http_header_pool = 1024,
#endif
.mounts = mounts
};
logger->info("Starting sub-system: htdocs={}", htdocs.c_str());