You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by jo...@apache.org on 2012/03/13 16:03:55 UTC

svn commit: r1300171 - /httpd/httpd/trunk/server/mpm_unix.c

Author: jorton
Date: Tue Mar 13 15:03:54 2012
New Revision: 1300171

URL: http://svn.apache.org/viewvc?rev=1300171&view=rev
Log:
* server/mpm_unix.c (dummy_connection): Destroy temp pool and return
  on connect() failure.

Modified:
    httpd/httpd/trunk/server/mpm_unix.c

Modified: httpd/httpd/trunk/server/mpm_unix.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/mpm_unix.c?rev=1300171&r1=1300170&r2=1300171&view=diff
==============================================================================
--- httpd/httpd/trunk/server/mpm_unix.c (original)
+++ httpd/httpd/trunk/server/mpm_unix.c Tue Mar 13 15:03:54 2012
@@ -569,6 +569,8 @@ static apr_status_t dummy_connection(ap_
 
         ap_log_error(APLOG_MARK, log_level, rv, ap_server_conf, APLOGNO(00056)
                      "connect to listener on %pI", lp->bind_addr);
+        apr_pool_destroy(p);
+        return rv;
     }
 
     /* Create the request string. We include a User-Agent so that