Jim Zhan <[email protected]> wrote: > We are using Unicorn as the http server for one of our ruby applications > and we recently encountered an issue that some browsers won't limit the > cookie size so we will get requests with http header greater than 8k and > users are receiving "400-bad request". Is there a way to increase the > maximum allowed header size? I searched online but didn't find a lot of > useful information on it.
This is subject to change in the next major release, but you can change it in unicorn 4.x using: Unicorn::HttpRequest.max_header_len = <number> However, the default is already 112K, so I'm wondering if the 8K is the result of your nginx configuration or similar.
