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