Ruediger Pluem wrote:
> 
> 
> 
> On 11/23/2005 06:11 PM, Jim Jagielski wrote:
> > It seems to me that is_address_reusable should be
> > assumed to be 0 if either
> > 
> >     (r->proxyreq == PROXYREQ_PROXY || r->proxyreq == PROXYREQ_REVERSE)
> > 
> > As mentioned, we go ahead and force close the socket
> 
> Does anybody remember why we close the socket in the case of
> 
> r->proxyreq == PROXYREQ_PROXY || r->proxyreq == PROXYREQ_REVERSE
> 
> ?
> 
> >From the first glance it seems to kill many of the connection pooling 
> >advantages
> (especially with the ajp modul) of reusing already established connections.
> 

Not sure offhand... I need to go thru the archive, but it
seems consistent with what we do in ap_proxy_connect_backend()
where we close and recreate non-connected sockets :/

Ideally, migrating to the more formal connection pool interface
might be nice :)

-- 
=======================================================================
 Jim Jagielski   [|]   [EMAIL PROTECTED]   [|]   http://www.jaguNET.com/
           "If you can dodge a wrench, you can dodge a ball."

Reply via email to