10.10 Configure maxHttpHeaderSize

Information

The maxHttpHeaderSize limits the size of the request and response headers defined in bytes.

Rationale:

Limiting the size of the header request can help protect against Denial of Service (DoS) requests.

Solution

Set maxHttpHeaderSize for each connector in $CATALINA_HOME/conf/server.xml to the appropriate setting.

maxHttpHeaderSize='8192'

Default Value:

The default is 8192 bytes.

See Also

https://workbench.cisecurity.org/files/4103