mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-23 09:06:29 +00:00
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:
parent
dab75b597c
commit
13db0e5c70
@ -36,6 +36,7 @@ _LOGGER: logging.Logger = logging.getLogger(__name__)
|
|||||||
|
|
||||||
|
|
||||||
MAX_CLIENT_SIZE: int = 1024**2 * 16
|
MAX_CLIENT_SIZE: int = 1024**2 * 16
|
||||||
|
MAX_LINE_SIZE: int = 24570
|
||||||
|
|
||||||
|
|
||||||
class RestAPI(CoreSysAttributes):
|
class RestAPI(CoreSysAttributes):
|
||||||
@ -51,6 +52,10 @@ class RestAPI(CoreSysAttributes):
|
|||||||
self.security.system_validation,
|
self.security.system_validation,
|
||||||
self.security.token_validation,
|
self.security.token_validation,
|
||||||
],
|
],
|
||||||
|
handler_args={
|
||||||
|
"max_line_size": MAX_LINE_SIZE,
|
||||||
|
"max_field_size": MAX_LINE_SIZE,
|
||||||
|
},
|
||||||
)
|
)
|
||||||
|
|
||||||
# service stuff
|
# service stuff
|
||||||
|
Loading…
x
Reference in New Issue
Block a user