Project

General

Profile

[Solved] server.max-request-size as unsigned short

Added by joperry about 15 years ago

The documentation on server.max-request-size is a bit confusing. It says that the default is 2097152 (2GB) and thus users would assume such values are handled. Because srv->srvconf.max_request_size is an unsigned short, on most 32 bit systems the max value should be 65535 KB.

It would be nice to be able to set the max-request-size bigger than that but at minimum it would be nice to see this documented and possibly even caught by the conf file parsing if possible.


Replies (1)

RE: [Solved] server.max-request-size as unsigned short - Added by gstrauss about 7 years ago

Fixed in 28e198d5 (back in 2009)
server.max-request-size is in kbytes, so maximum request size is on the order of 4TB.

    (1-1/1)