BlueBrain / Rockets

REST and websockets C++ library
GNU Lesser General Public License v3.0
38 stars 8 forks source link

Work around http header pool exhaustion with lws 2.4 -> 2.4.2 #24

Closed rdumusc closed 6 years ago

rdumusc commented 6 years ago

Increase the pool size to 1024 for lws < 3.0 as discussed here: https://github.com/warmcat/libwebsockets/issues/1249 There was no point in restricting the pool size, memory is only allocated as-needed, and should reach max 5MB. Since lws 3.0 the default ah limit == fd limit (typically 1024 as well).

rdumusc commented 6 years ago

retest this please