Skip to content

Commit

Permalink
fix: Change gunicorn request line limit to unlimited (#173)
Browse files Browse the repository at this point in the history
  • Loading branch information
asriniva authored Dec 8, 2021
1 parent efb0e84 commit 6f4a360
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/functions_framework/_http/gunicorn.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ def __init__(self, app, host, port, debug, **options):
"threads": 8,
"timeout": 0,
"loglevel": "error",
"limit_request_line": 0,
}
self.options.update(options)
self.app = app
Expand Down
1 change: 1 addition & 0 deletions tests/test_http.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ def test_gunicorn_application(debug):
"threads": 8,
"timeout": 0,
"loglevel": "error",
"limit_request_line": 0,
}

assert gunicorn_app.cfg.bind == ["1.2.3.4:1234"]
Expand Down

0 comments on commit 6f4a360

Please sign in to comment.