This is an automated email from the ASF dual-hosted git repository.

rmaucher pushed a commit to branch 11.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/11.0.x by this push:
     new dd9a558d20 Remove confusing dead code
dd9a558d20 is described below

commit dd9a558d20845ce70a6bb8ae902f0344805f9925
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 05794b6a7a..8ffaacbcf6 100644
--- a/java/org/apache/catalina/filters/RemoteIpFilter.java
+++ b/java/org/apache/catalina/filters/RemoteIpFilter.java
@@ -497,11 +497,6 @@ public class RemoteIpFilter extends GenericFilter {
          */
         protected String scheme;
 
-        /**
-         * Whether the request is secure.
-         */
-        protected boolean secure;
-
         /**
          * The server name.
          */
@@ -524,7 +519,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]

Reply via email to