This is an automated email from the ASF dual-hosted git repository.
rmaucher pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/9.0.x by this push:
new 77ad4ca055 Remove confusing dead code
77ad4ca055 is described below
commit 77ad4ca05515ef8326433c3acd02ae23fe39054e
Author: remm <[email protected]>
AuthorDate: Thu May 21 12:13:12 2026 +0200
Remove confusing dead code
---
java/org/apache/catalina/filters/RemoteIpFilter.java | 6 ------
1 file changed, 6 deletions(-)
diff --git a/java/org/apache/catalina/filters/RemoteIpFilter.java
b/java/org/apache/catalina/filters/RemoteIpFilter.java
index 6c0ac6411a..c195e95be0 100644
--- a/java/org/apache/catalina/filters/RemoteIpFilter.java
+++ b/java/org/apache/catalina/filters/RemoteIpFilter.java
@@ -510,11 +510,6 @@ public class RemoteIpFilter extends GenericFilter {
*/
protected String scheme;
- /**
- * Whether the request is secure.
- */
- protected boolean secure;
-
/**
* The server name.
*/
@@ -537,7 +532,6 @@ public class RemoteIpFilter extends GenericFilter {
this.remoteAddr = request.getRemoteAddr();
this.remoteHost = request.getRemoteHost();
this.scheme = request.getScheme();
- this.secure = request.isSecure();
this.serverName = request.getServerName();
this.serverPort = request.getServerPort();
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]