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: [email protected]
ReportedBy: [EMAIL PROTECTED]
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/[EMAIL
PROTECTED]).
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 [EMAIL PROTECTED]
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]