Skip to content

Commit 74d13d3

Browse files
committed
Note that max HTTP request head size semantics are server-specific
Closes gh-40798
1 parent 788fe61 commit 74d13d3

File tree

1 file changed

+5
-1
lines changed
  • spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web

1 file changed

+5
-1
lines changed

spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/ServerProperties.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,11 @@ public class ServerProperties {
100100
private String serverHeader;
101101

102102
/**
103-
* Maximum size of the HTTP request header.
103+
* Maximum size of the HTTP request header. Refer to the documentation for your chosen
104+
* embedded server for details of exactly how this limit is applied. For example,
105+
* Netty applies the limit separately to each individual header in the request whereas
106+
* Tomcat applies the limit to the combined size of the request line and all of the
107+
* header names and values in the request.
104108
*/
105109
private DataSize maxHttpRequestHeaderSize = DataSize.ofKilobytes(8);
106110

0 commit comments

Comments
 (0)