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