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

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


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

commit c72e7a0e942264fb3d089dd7c45d84c130f15709
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 d8d5d74d29..9f06a63690 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]

Reply via email to