]> granicus.if.org Git - apache/commit
mod_proxy: only cleanup the socket for a connection asked to be closed but
authorYann Ylavic <ylavic@apache.org>
Mon, 11 May 2015 14:53:34 +0000 (14:53 +0000)
committerYann Ylavic <ylavic@apache.org>
Mon, 11 May 2015 14:53:34 +0000 (14:53 +0000)
commit339e1a5943d0add3580dd3b4806acf03303c873a
tree0161d67cc0cbe5c8bf148c18390eb0aa5179c809
parentecc12e3b898ed93b7b290704613a504217b62901
mod_proxy: only cleanup the socket for a connection asked to be closed but
whose address can still be reused.

This saves unnecessary socket pool destroy and creation at cleanup and reuse
time, plus the same initialization of conn->pool's associated data which can
be reused in that case.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1678763 13f79535-47bb-0310-9956-ffa450edef68
modules/proxy/proxy_util.c