trigger POLL_ERR or POLL_HUP on a terminated connection.
PR: 36951
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@306878
13f79535-47bb-0310-9956-
ffa450edef68
Changes with Apache 2.1.9
+ *) mod_proxy_connect: Fix high CPU loop on systems like UnixWare which
+ trigger POLL_ERR or POLL_HUP on a terminated connection. PR 36951.
+ [Jeff Trawick, Ruediger Pluem]
+
*) SECURITY: CAN-2005-2970 (cve.mitre.org)
worker MPM: Fix a memory leak which can occur after an aborted
connection in some limited circumstances. [Greg Ames, Jeff Trawick]
else
break;
}
- else if ((pollevent & APR_POLLERR) || (pollevent & APR_POLLHUP))
+ else if ((pollevent & APR_POLLERR) || (pollevent & APR_POLLHUP)) {
+ rv = APR_EOF;
break;
+ }
}
else
break;