Benoit Chesneau 8d08aaa2cb Fix --limit-request-line 0 to mean unlimited
Per documentation, limit_request_line=0 means unlimited. The code was
incorrectly treating 0 as "use default max" by checking <= 0 instead
of < 0.

For the fast C parser (gunicorn_h1c), which doesn't support 0 as
unlimited, pass a large value (1MB) instead. This applies to both
WSGI workers (http/message.py) and ASGI workers (asgi/protocol.py).

Fixes #3563
2026-03-26 23:42:14 +01:00
..
2010-06-03 16:11:18 -04:00
2026-02-06 08:21:18 +01:00
2010-06-03 16:11:18 -04:00
2026-02-06 08:21:18 +01:00
2026-02-06 08:21:18 +01:00
2026-02-06 08:21:18 +01:00
2026-02-06 08:21:18 +01:00
2010-06-03 16:11:18 -04:00
2026-02-06 08:21:18 +01:00
2010-06-03 16:11:18 -04:00
2026-02-06 08:21:18 +01:00
2012-02-20 09:56:06 +01:00
2026-02-06 08:21:18 +01:00
2026-02-06 08:21:18 +01:00
2026-02-06 08:21:18 +01:00
2026-02-06 08:21:18 +01:00
2026-02-06 08:21:18 +01:00
2026-02-06 08:21:18 +01:00
2026-02-06 08:21:18 +01:00
2026-02-06 08:21:18 +01:00
2012-09-27 19:14:40 +02:00
2026-02-06 08:21:18 +01:00
2012-09-27 19:14:40 +02:00
2026-02-06 08:21:18 +01:00
2026-02-06 08:21:18 +01:00
2026-02-06 08:21:18 +01:00
2016-11-04 21:16:01 +03:00
2026-02-06 08:21:18 +01:00
2026-02-06 08:21:18 +01:00
2019-11-18 19:44:01 -05:00
2026-02-06 08:21:18 +01:00
2019-11-18 21:16:12 -05:00
2026-02-06 08:21:18 +01:00
2023-05-30 20:42:13 -05:00
2026-02-06 08:21:18 +01:00
2023-05-30 20:42:13 -05:00
2026-02-06 08:21:18 +01:00
2023-05-30 20:42:13 -05:00
2026-02-06 08:21:18 +01:00
2026-02-06 08:21:18 +01:00
2026-02-06 08:21:18 +01:00
2026-02-06 08:21:18 +01:00
2026-02-06 08:21:18 +01:00
2026-02-06 08:21:18 +01:00
2026-02-06 08:21:18 +01:00
2026-02-06 08:21:18 +01:00
2026-02-06 08:21:18 +01:00
2026-02-06 08:21:18 +01:00
2026-02-06 08:21:18 +01:00
2026-02-06 08:21:18 +01:00
2026-02-06 08:21:18 +01:00
2026-02-06 08:21:18 +01:00
2026-02-06 08:21:18 +01:00
2026-02-06 08:21:18 +01:00
2026-02-06 08:21:18 +01:00
2026-02-06 08:21:18 +01:00
2026-02-06 08:21:18 +01:00
2026-02-06 08:21:18 +01:00
2012-09-27 19:14:40 +02:00
2026-02-06 08:21:18 +01:00
2012-09-27 19:14:40 +02:00
2026-02-06 08:21:18 +01:00
2026-02-06 08:21:18 +01:00
2026-02-06 08:21:18 +01:00
2026-02-06 08:21:18 +01:00
2026-02-06 08:21:18 +01:00
2026-02-06 08:21:18 +01:00
2023-12-15 13:33:31 +01:00
2026-02-06 08:21:18 +01:00
2023-12-15 13:33:31 +01:00
2026-02-06 08:21:18 +01:00
2023-12-15 13:33:31 +01:00
2026-02-06 08:21:18 +01:00