Increase max line size for ingress addons (#3747)

* Increase max line size for ingress addons

* Set max field size too
This commit is contained in:
Mike Degatano 2022-07-25 09:04:27 -04:00 committed by GitHub
parent dab75b597c
commit 13db0e5c70
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -36,6 +36,7 @@ _LOGGER: logging.Logger = logging.getLogger(__name__)
MAX_CLIENT_SIZE: int = 1024**2 * 16
MAX_LINE_SIZE: int = 24570
class RestAPI(CoreSysAttributes):
@ -51,6 +52,10 @@ class RestAPI(CoreSysAttributes):
self.security.system_validation,
self.security.token_validation,
],
handler_args={
"max_line_size": MAX_LINE_SIZE,
"max_field_size": MAX_LINE_SIZE,
},
)
# service stuff