# HG changeset patch # User Marcin Kuzminski # Date 2019-02-28 13:50:02 # Node ID b3100e9462e02820c4161076f55d893e22faf48c # Parent e2edd654634e6210260558a4c2f719a79fcd6f89 config: updated header limits on gunicorn diff --git a/configs/gunicorn_config.py b/configs/gunicorn_config.py --- a/configs/gunicorn_config.py +++ b/configs/gunicorn_config.py @@ -30,10 +30,12 @@ loglevel = 'debug' # SECURITY # The maximum size of HTTP request line in bytes. -limit_request_line = 4094 +# 0 for unlimited +limit_request_line = 0 # Limit the number of HTTP headers fields in a request. -limit_request_fields = 1024 +# By default this value is 100 and can’t be larger than 32768. +limit_request_fields = 10240 # Limit the allowed size of an HTTP request header field. # Value is a positive number or 0.