You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# get max request line sizeself.limit_request_line=cfg.limit_request_lineif (self.limit_request_line<0orself.limit_request_line>=MAX_REQUEST_LINE):
self.limit_request_line=MAX_REQUEST_LINE
This is an issue because the other option is to set the limit_request_line to 0 to make it unlimited. Is this configuration aimed to be 0 or less than MAX_REQUEST_LINE?
Can a higher limit be set as in Nginx? If so, I would be happy to submit a PR.
The text was updated successfully, but these errors were encountered:
Increasing the limit request line above the
MAX_REQUEST_LINE
will default toMAX_REQUEST_LINE
.https://github.com/benoitc/gunicorn/blob/88fc4a43152039c28096c8ba3eeadb3fbaa4aff9/gunicorn/http/message.py#L249C9-L253C55
This is an issue because the other option is to set the
limit_request_line
to0
to make it unlimited. Is this configuration aimed to be0
or less thanMAX_REQUEST_LINE
?Can a higher limit be set as in Nginx? If so, I would be happy to submit a PR.
The text was updated successfully, but these errors were encountered: