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

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


The following commit(s) were added to refs/heads/main by this push:
     new 3a7e327111 Remove confusing dead code
3a7e327111 is described below

commit 3a7e32711177ffa6dc63edf38170d09f9f5f4f02
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 95f1a030b8..feb5b8e414 100644
--- a/java/org/apache/catalina/filters/RemoteIpFilter.java
+++ b/java/org/apache/catalina/filters/RemoteIpFilter.java
@@ -496,11 +496,6 @@ public class RemoteIpFilter extends GenericFilter {
          */
         protected String scheme;
 
-        /**
-         * Whether the request is secure.
-         */
-        protected boolean secure;
-
         /**
          * The server name.
          */
@@ -523,7 +518,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