mirror of
https://github.com/datahub-project/datahub.git
synced 2025-10-05 22:16:32 +00:00
config(header): increase header size to 32k (#10743)
This commit is contained in:
parent
f1e5a4757c
commit
c2ca162518
@ -38,8 +38,12 @@ jwt {
|
|||||||
play.server.provider = server.CustomAkkaHttpServerProvider
|
play.server.provider = server.CustomAkkaHttpServerProvider
|
||||||
play.http.server.akka.max-header-count = 64
|
play.http.server.akka.max-header-count = 64
|
||||||
play.http.server.akka.max-header-count = ${?DATAHUB_AKKA_MAX_HEADER_COUNT}
|
play.http.server.akka.max-header-count = ${?DATAHUB_AKKA_MAX_HEADER_COUNT}
|
||||||
play.server.akka.max-header-size = 8k
|
# max-header-size is reportedly no longer used
|
||||||
|
play.server.akka.max-header-size = 32k
|
||||||
play.server.akka.max-header-size = ${?DATAHUB_AKKA_MAX_HEADER_VALUE_LENGTH}
|
play.server.akka.max-header-size = ${?DATAHUB_AKKA_MAX_HEADER_VALUE_LENGTH}
|
||||||
|
# max header value length seems to impact the actual limit
|
||||||
|
play.server.akka.max-header-value-length = 32k
|
||||||
|
play.server.akka.max-header-value-length = ${?DATAHUB_AKKA_MAX_HEADER_VALUE_LENGTH}
|
||||||
|
|
||||||
# Update AUTH_COOKIE_SAME_SITE and AUTH_COOKIE_SECURE in order to change how authentication cookies
|
# Update AUTH_COOKIE_SAME_SITE and AUTH_COOKIE_SECURE in order to change how authentication cookies
|
||||||
# are configured. If you wish cookies to be sent in first and third party contexts, set
|
# are configured. If you wish cookies to be sent in first and third party contexts, set
|
||||||
|
@ -31,7 +31,7 @@
|
|||||||
<!-- <pre>reason: Request Header Fields Too Large</pre> -->
|
<!-- <pre>reason: Request Header Fields Too Large</pre> -->
|
||||||
<!-- =========================================================== -->
|
<!-- =========================================================== -->
|
||||||
<New id="httpConfig" class="org.eclipse.jetty.server.HttpConfiguration">
|
<New id="httpConfig" class="org.eclipse.jetty.server.HttpConfiguration">
|
||||||
<Set name="requestHeaderSize"><Property name="jetty.httpConfig.requestHeaderSize" deprecated="jetty.request.header.size" default="16384" /></Set>
|
<Set name="requestHeaderSize"><Property name="jetty.httpConfig.requestHeaderSize" deprecated="jetty.request.header.size" default="32768" /></Set>
|
||||||
</New>
|
</New>
|
||||||
|
|
||||||
<Call name="addConnector">
|
<Call name="addConnector">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user