httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jor...@apache.org
Subject svn commit: r1300171 - /httpd/httpd/trunk/server/mpm_unix.c
Date Tue, 13 Mar 2012 15:03:55 GMT
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



Mime
View raw message