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 44882] New: Feature Request mod_proxy sockettimeout
Date Sat, 26 Apr 2008 21:01:23 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=44882

           Summary: Feature Request mod_proxy sockettimeout
           Product: Apache httpd-2
           Version: 2.3-HEAD
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_proxy
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: michael.haas@brz.gv.at


Created an attachment (id=21859)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=21859)
patch to add sockettimeout parameter

Hello,

i would like to submit a feature request to add the possibility to specify a
sockettimeout for Reverse Proxy. I know that this is not a necessary feature
for normal Reverse Proxies but for a balancer configuration i think it is
highly desirable.I already posted a question to the user-list about this and
explained what would be nice to have as a feature
(http://mail-archives.apache.org/mod_mbox/httpd-users/200803.mbox/%3C47D1EA54.BE70.0010.0@brz.gv.at%3E).
I have tried to implement this into the latest trunk version and for me it has
worked, but i'm not a programmer (copied mostly only the timeout code) so maybe
i did something really stupid. I only tried it with http protocol.

Here is the test configuraton i used

<VirtualHost xx.xx.xx.xx:8888>
    ServerAdmin webmaster@dummy-host.example.com
    DocumentRoot "/home/xxx/htdocs"
    ServerName xx.xx.xx.xx
    ProxyRequests Off
    ProxySocketTimeout 60
    <Proxy *>
    Order deny,allow
    Allow from all
    </Proxy>
    <Proxy balancer://mycluster>
    BalancerMember http://xx.xxx.xx.xx1:9000 timeout=90 retry=420
    BalancerMember http://xx.xxx.xx.xx2/cgi-bin/test-markus sockettimeout=15
timeout=90 retry=420
    </Proxy>
    ProxyPass /em !
    ProxyPass /j2ee !
    ProxyPass /server-status !
    ProxyPass / balancer://mycluster/
    ProxyPassReverse / http://xx.xxx.xx.xx1/
    ProxyPassReverse / http://xx.xxx.xx.xx1:9000/
    ProxyPassReverse / http://xx.xxx.xx.xx2/cgi-bin/test-markus
    ProxyPassReverse / http://xx.xxx.xx.xx1:80/cgi-bin/test-markus
    ProxyPreserveHost On
    ProxyStatus On

    ErrorLog "logs/dummy-host.example.com-error_log"
    CustomLog "logs/dummy-host.example.com-access_log" common
</VirtualHost>


Thanks for your attention
Michael


-- 
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