benoitc d79ff999ce fix multiple issues with request limit
patch from Djoume Salvetti . address the following issues in gunicorn:

* Gunicorn does not limit the size of a request header (the
* limit_request_field_size configuration parameter is not used)

* When the configured request limit is lower than its maximum value, the
* maximum value is used instead. For instance if limit_request_line is
* set to 1024, gunicorn will only limit the request line to 4096 chars
* (this issue also affects limit_request_fields)

* Request limits are not limited to their maximum authorized values. For
* instance it is possible to set limit_request_line to 64K (this issue
* also affects limit_request_fields)

* Setting limit_request_fields and limit_request_field_size to 0 does
* not make them unlimited. The following patch allows limit_request_line
* and limit_request_field_size to be unlimited. limit_request_fields can
* no longer be unlimited (I can't imagine 32K fields to not be enough
* but I have a use case where 8K for the request line is not enough).

* Parsing errors (premature client disconnection) are not reported

* When request line limit is exceeded the configured value is reported
* instead of the effective value.
2012-05-24 12:13:34 +02:00
..
2012-02-20 09:56:06 +01:00
2010-06-03 16:11:18 -04:00
2010-06-03 16:11:18 -04:00
2010-06-03 16:11:18 -04:00
2010-06-03 16:11:18 -04:00
2010-06-03 16:11:18 -04:00
2010-06-03 16:11:18 -04:00
2010-06-03 16:11:18 -04:00
2010-06-03 16:11:18 -04:00
2010-06-03 16:11:18 -04:00
2010-06-03 16:11:18 -04:00
2010-06-03 16:11:18 -04:00
2010-06-03 16:11:18 -04:00
2010-06-03 16:11:18 -04:00
2010-06-03 16:11:18 -04:00
2010-06-03 16:11:18 -04:00
2010-06-03 16:11:18 -04:00
2010-06-03 16:11:18 -04:00
2010-06-03 16:11:18 -04:00
2010-06-03 16:11:18 -04:00
2010-06-03 16:11:18 -04:00
2010-06-03 16:11:18 -04:00
2010-06-03 16:11:18 -04:00
2010-06-03 16:11:18 -04:00
2010-06-03 16:11:18 -04:00
2010-06-03 16:11:18 -04:00
2010-06-03 16:11:18 -04:00
2010-06-03 16:11:18 -04:00
2010-06-03 16:11:18 -04:00
2010-06-03 16:11:18 -04:00
2010-06-03 16:11:18 -04:00
2010-06-03 16:11:18 -04:00
2010-06-03 16:11:18 -04:00
2010-06-03 16:11:18 -04:00
2010-06-03 16:11:18 -04:00
2010-06-03 16:11:18 -04:00
2010-06-03 16:11:18 -04:00
2010-06-03 16:11:18 -04:00
2010-06-03 16:11:18 -04:00
2010-06-03 16:11:18 -04:00
2010-06-03 16:11:18 -04:00
2010-06-03 16:11:18 -04:00
2010-06-03 16:11:18 -04:00
2010-06-03 16:11:18 -04:00
2010-06-03 16:11:18 -04:00
2010-06-03 16:11:18 -04:00
2012-05-24 12:13:34 +02:00