A application bug caused us to set a cookie that's too large.
Clients get an error that happens prior to our application being executed (mod_python).
Are there any adjustable limits within apache for how large a cookie header can be ?
Within apache error logs, I'm seeing: request failed: error reading the headers
Best Answer
See the LimitRequestLine directive in Apache's configuration. The default is 8190 so anything bigger than that has the potential to cause problems.
I believe this is the limit of the sum of all cookies on a web page and not just an individual cookie (not positive on that though). But all the cookies for a website are transmitted using the a single request header, so if enough cookies are on a webpage and the sum exceeds the value of the LimitRequestLine directive, there will be problems.