https://issues.apache.org/bugzilla/show_bug.cgi?id=44820
Ruediger Pluem <[EMAIL PROTECTED]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
--- Comment #1 from Ruediger Pluem <[EMAIL PROTECTED]> 2008-04-14 12:31:58 PST
---
(In reply to comment #0)
> http://httpd.apache.org/docs/2.2/mod/mod_proxy.html states:
> "timeout 0 Balancer timeout in seconds. If set this will be the maximum time
> to
> wait for a free worker. Default is not to wait."
>
> However the behaviour is different. We have found that the timeout value here
> is the time allowed for a reply to be received. Anything that takes longer
> than
> this value gets a 502 invalid response from upstream server error.
The documentation is correct, but you read it wrong.
>
> On all other servers in the chain the request is logged as a 200 status
> successful error.
>
> Extract from config file:
> <Proxy balancer://name>
> BalancerMember http://cache1.local:80 min=100 retry=60 timeout=30
Here you did *not* use timeout in a balancer context but in a worker context,
so it behaves as described by you and as documented in the parameters for the
workers a few lines above the timeout documentation for balancers.
To use timeout in the balancer context you need to do the following:
<Proxy balancer://name>
BalancerMember http://cache1.local:80 min=100 retry=60
ProxySet timeout=30
</proxy>
--
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]