BlueBrain / Rockets

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

Increase max_http_header_data to fix proxy issues #19

Closed rdumusc closed 6 years ago

rdumusc commented 6 years ago

Libwebsockets was issuing an error "Ran out of header data space" when a server was running behind an authentication proxy.

The size of the "Authorization: Negotiate " header can be very long, potentially depending on the number of groups a user is a member of (https://support.microsoft.com/en-us/help/2020943).

Doubling the max_http_header_data from 4096 (default) to 8192 fixes the problem (in the BBP setup).

rdumusc commented 6 years ago

thanks, done