Roberto De Ioris <roberto@...> writes:
> > I'm not sure why he had so big cookies, it was a left-over from their old
> > CMS
> > system made by someone else, but IIRC up to 4k cookies is considered okay
> > by browsers.
> 
> I am generally scared too about such big requests, normally they happens
> on frameworks storing a lot of user informations in cookies or with
> browsers passing lot of additional infos (i have found such questionable
> behaviour expecially on proxies). By the way i had never needed to raise
> it over 8k

We can agree on that. :)

I've added a section to the RunOnNginx page in the wiki with the nice & detailed
info you provided on this.

One last thing: If I try a >8k request, I do get a relatively reasonable error
page back from nginx "400 Request Header Or Cookie Too Large", whereas the just
above 4k request gave me a 502 backend error. Perhaps it would make more sense
to return a 400 instead of closing the connection? If it's possible? That would
probably have saved me some head scratching.


Ole

_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to