diff --git a/src/functions_framework/_http/gunicorn.py b/src/functions_framework/_http/gunicorn.py index 48714284..25fdb790 100644 --- a/src/functions_framework/_http/gunicorn.py +++ b/src/functions_framework/_http/gunicorn.py @@ -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 diff --git a/tests/test_http.py b/tests/test_http.py index e45dbab9..bd301c91 100644 --- a/tests/test_http.py +++ b/tests/test_http.py @@ -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"]