Commit ece09246 authored by Graham Leggett's avatar Graham Leggett
Browse files

Sockets weren't being closed if the proxy could not connect to

a remote machine...
PR:
Obtained from:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88751 13f79535-47bb-0310-9956-ffa450edef68
parent 1c05c314
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -349,6 +349,7 @@ int ap_proxy_http_handler(request_rec *r, char *url,

	/* handle a permanent error from the above loop */
	if (failed) {
	    apr_socket_close(sock);
	    if (proxyname) {
		return DECLINED;
	    }