Discussed in #3562
Originally posted by crgunn-mantech March 26, 2026
Type
Bug Report
Description
When I upgraded from 25.1.0 to 25.2.0 the server stopped honoring the --limit-request-line 0 command line parameter and started responding with
Bad Request
Request Line is too large (10088 > 8190)
I expected the newer versions to continue to honor the --limit-request-line 0 parameter to mean unlimited.
https://gunicorn.org/reference/settings/#limit_request_line
Steps to Reproduce (for bugs)
- Create simple app
- run gunicorn with --limit-request-line 0
- issue a GET request with a URL over 8190 characters
- get error message
- downgrade gunicorn to 25.1.0, repeat, and no error.
Configuration
gunicorn --reload --workers 2 \
--bind 0.0.0.0:$port \
--timeout 1800 \
--graceful-timeout 1800 \
-k gevent \
--worker-connections 100 \
--max-requests 1000 \
--max-requests-jitter 100 \
--keep-alive 60 \
--limit-request-line 0 \
--access-logfile - \
--access-logformat '%(t)s "%(r)s" %(s)s %(b)s' \
--error-logfile - \
app.wsgi
Logs / Error Output
[2026-03-26 21:28:36 +0000] [154] [WARNING] Invalid request from ip=xxx.xxx.xxx.xxx: Request Line is too large (10088 > 8190)
Gunicorn Version
gunicorn (version 25.2.0)
Python Version
Python 3.13.9
Worker Class
gevent
Operating System
debian 13
Additional Context
No response
Checklist
Discussed in #3562
Originally posted by crgunn-mantech March 26, 2026
Type
Bug Report
Description
When I upgraded from 25.1.0 to 25.2.0 the server stopped honoring the --limit-request-line 0 command line parameter and started responding with
I expected the newer versions to continue to honor the --limit-request-line 0 parameter to mean unlimited.
https://gunicorn.org/reference/settings/#limit_request_line
Steps to Reproduce (for bugs)
Configuration
Logs / Error Output
Gunicorn Version
gunicorn (version 25.2.0)
Python Version
Python 3.13.9
Worker Class
gevent
Operating System
debian 13
Additional Context
No response
Checklist