httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 50551] New: Some proxied connections ignore ttl setting
Date Thu, 06 Jan 2011 15:26:40 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=50551

           Summary: Some proxied connections ignore ttl setting
           Product: Apache httpd-2
           Version: 2.3-HEAD
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_proxy
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: s.janotta@aviope.de


In the solution for bug #43371 a patch was provided to enable setting of
smax=0.

Setting smax=0 ttl=30 doesn't seem to lead to dropping of the last connection,
though.

My expectation would be, that if I set smax to 0 then each connection should be
dropped after ttl expires.

Ways to reproduce:

1. Define a ProxyPass, e.g. like this:
NameVirtualHost 192.168.100.10:443
<VirtualHost 192.168.100.10:443>
    SSLEngine ON
    SSLProxyEngine ON
    ProxyPass / https://backend.mydomain.com:8080/ disablereuse=On
    ProxyPassReverse / https://backend.mydomain.com:8080/
</VirtualHost>

2. After making some requests to the proxy, change the ip-address of the server
backend.mydomain.com

3. When you now make a new request, the new ip-address of the backend will be
used.

4. Change the configuration to:
NameVirtualHost 192.168.100.10:443
<VirtualHost 192.168.100.10:443>
    SSLEngine ON
    SSLProxyEngine ON
    ProxyPass / https://backend.mydomain.com:8080/ smax=0 ttl=30
    ProxyPassReverse / https://backend.mydomain.com:8080/
</VirtualHost>

5. After making some requests change the ip-address of the server
backend.mydomain.com and wait for a time much bigger than ttl.

6. When you now make new requests, some of the requests, but not all(!) still
try to connect to the old ip-address of the backend.

Apparently not all connection have beed dropped after ttl expiry.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message