httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Bug 59319] New: ProxyPass connectiontimeout not honored with specific target url
Date Thu, 14 Apr 2016 10:46:42 GMT

            Bug ID: 59319
           Summary: ProxyPass connectiontimeout not honored with specific
                    target url
           Product: Apache httpd-2
           Version: 2.4-HEAD
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_proxy


I think I have found a bug around ProxyPass connectiontimeout parameter.

Here is the test config :

RewriteEngine On
RewriteMap chooseproxy prg:/
RewriteCond ${chooseproxy:%{THE_REQUEST}} ^([0-9]{4,5})$
RewriteRule (.*) - [L,E=proxytouse:]
ProxyPassInterpolateEnv on
ProxyPass "/api/" "https://${proxytouse}/api/" interpolate connectiontimeout=5

Depending on the request, returns the proxy port to connect to.
It works fine, however connectiontimeout is not honored : if port is not
reachable, Apache only times-out after timeout seconds (the global timeout

If I change my ProxyPass rule removing the ${proxytouse} variable, for example
ProxyPass "/api/" "" interpolate connectiontimeout=5
Then connectiontimeout parameter works correctly.

Thank you,

Best regards,


You are receiving this mail because:
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message