]> granicus.if.org Git - apache/commit
* Avoid calling ap_proxy_http_cleanup twice as this releases a connection
authorRuediger Pluem <rpluem@apache.org>
Fri, 14 Apr 2006 13:20:28 +0000 (13:20 +0000)
committerRuediger Pluem <rpluem@apache.org>
Fri, 14 Apr 2006 13:20:28 +0000 (13:20 +0000)
commit96c6356987991704cbf490733c21d4d605f27b9a
tree69d35422817af00df6c14d41d82a18e928d4d5a3
parent4d1b38642dcdf1408a84b58f0ba33504097b6d3e
* Avoid calling ap_proxy_http_cleanup twice as this releases a connection
  from the connection pool twice. This causes this connection to be present
  in the connection pool twice. Thus it may be used by different threads
  at the same time which causes many troubles (segfaults in this case).
  Furthermore implement a logic to prevent double releases to the connection
  pool if they are triggered by buggy code and log an error message in this
  case.

  - mod_proxy_http.c: remove double calls to ap_proxy_http_cleanup
  - proxy_util.c: Add logic to prevent double releases of a
    connection to the connection pool.

PR: 38793

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@394088 13f79535-47bb-0310-9956-ffa450edef68
CHANGES
include/ap_mmn.h
modules/proxy/mod_proxy.h
modules/proxy/mod_proxy_http.c
modules/proxy/proxy_util.c