httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mladen Turk <>
Subject Re: Behaviour of mod_proxy_ajp if CPING/CPONG fails
Date Fri, 05 Sep 2008 15:07:14 GMT
Plüm, Rüdiger, VF-Group wrote:

> So after the first failed CPING/CPONG we should try again with a new TCP connection
> and should only return HTTP_SERVICE_UNAVAILABLE if this fails as well. The following
> (and attached patch) does exactly that. Thoughs to the above and/or to the patch
> before I commit?

+1 for the concept.
However for threaded servers you should call
ap_proxy_acquire_connection inside retry loop, cause there might
be available connections inside the pool.
If all are down then do a single reconnect, and if that fails
then give up (that's how it's done in mod_jk).


View raw message