Do http headers need to fit in a single FastCGI record?

Maxim Dounin mdounin at mdounin.ru
Wed Apr 25 09:07:23 UTC 2012


Hello!

On Tue, Apr 24, 2012 at 06:13:42PM -0700, Mike Gagnon wrote:

> Hello,
> 
> I have noticed that http requests with large headers leads to 500 errors
> (more than 64k). From a previous discussion on the mailing list (2007),
> Igor said that the entire FastCGI request (except body) must fit into a
> single record.  Is that limitation still true today?
> 
> http://mailman.nginx.org/pipermail/nginx/2007-August/001602.html

It's still true.  You should get "[alert] ... fastcgi request 
record is too big: ..." in logs when you hit the limit.

Maxim Dounin



More information about the nginx-devel mailing list