feat(tomcat): Increase the maximum size of the request and response HTTP header to 32kb

Tomcat allows to configure the maximum size of the request and response HTTP header. If not specified, this attribute is set to 8192 (8 KB).
In order to avoid request blocking by this limitation, tomcat configuration has been adjusted to set 32768 (32 KB).
pr-update-base-images-1671841995
Piotr Karatkevich 2022-12-22 11:13:28 +03:00 committed by Ilya Buziuk
parent ab966cf9fe
commit dd0e1820c6
1 changed files with 1 additions and 0 deletions

View File

@ -69,6 +69,7 @@
<Connector port="${port.http:-8080}" protocol="HTTP/1.1"
connectionTimeout="20000"
maxThreads="300"
maxHttpHeaderSize="32768"
compression="on"
compressionMinSize="2048"
noCompressionUserAgents=".*MSIE 6.*"