Skip to content

Commit

Permalink
Increase max line size for ingress addons (#3747)
Browse files Browse the repository at this point in the history
* Increase max line size for ingress addons

* Set max field size too
  • Loading branch information
mdegat01 authored Jul 25, 2022
1 parent dab75b5 commit 13db0e5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions supervisor/api/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@


MAX_CLIENT_SIZE: int = 1024**2 * 16
MAX_LINE_SIZE: int = 24570


class RestAPI(CoreSysAttributes):
Expand All @@ -51,6 +52,10 @@ def __init__(self, coresys: CoreSys):
self.security.system_validation,
self.security.token_validation,
],
handler_args={
"max_line_size": MAX_LINE_SIZE,
"max_field_size": MAX_LINE_SIZE,
},
)

# service stuff
Expand Down

0 comments on commit 13db0e5

Please sign in to comment.