Note that max HTTP request head size semantics are server-specific

Closes gh-40798
This commit is contained in:
Andy Wilkinson 2024-10-18 15:31:54 +01:00
parent 788fe6120f
commit 74d13d3a8d
1 changed files with 5 additions and 1 deletions

View File

@ -100,7 +100,11 @@ public class ServerProperties {
private String serverHeader;
/**
* Maximum size of the HTTP request header.
* Maximum size of the HTTP request header. Refer to the documentation for your chosen
* embedded server for details of exactly how this limit is applied. For example,
* Netty applies the limit separately to each individual header in the request whereas
* Tomcat applies the limit to the combined size of the request line and all of the
* header names and values in the request.
*/
private DataSize maxHttpRequestHeaderSize = DataSize.ofKilobytes(8);