|
|
|
|
@ -475,6 +475,7 @@ public class ServerProperties {
@@ -475,6 +475,7 @@ public class ServerProperties {
|
|
|
|
|
/** |
|
|
|
|
* Whether to reject requests with illegal header names or values. |
|
|
|
|
*/ |
|
|
|
|
@Deprecated(since = "2.7.12", forRemoval = true) |
|
|
|
|
private boolean rejectIllegalHeader = true; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
@ -633,6 +634,7 @@ public class ServerProperties {
@@ -633,6 +634,7 @@ public class ServerProperties {
|
|
|
|
|
this.connectionTimeout = connectionTimeout; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@DeprecatedConfigurationProperty(reason = "The setting has been deprecated in Tomcat") |
|
|
|
|
public boolean isRejectIllegalHeader() { |
|
|
|
|
return this.rejectIllegalHeader; |
|
|
|
|
} |
|
|
|
|
|