Skip to content

Commit 6f4a360

Browse files
authored
fix: Change gunicorn request line limit to unlimited (#173)
1 parent efb0e84 commit 6f4a360

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

Diff for: src/functions_framework/_http/gunicorn.py

+1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ def __init__(self, app, host, port, debug, **options):
2323
"threads": 8,
2424
"timeout": 0,
2525
"loglevel": "error",
26+
"limit_request_line": 0,
2627
}
2728
self.options.update(options)
2829
self.app = app

Diff for: tests/test_http.py

+1
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ def test_gunicorn_application(debug):
100100
"threads": 8,
101101
"timeout": 0,
102102
"loglevel": "error",
103+
"limit_request_line": 0,
103104
}
104105

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

0 commit comments

Comments
 (0)