mod_proxy_connect: Fix high CPU loop on systems like UnixWare which
trigger POLL_ERR or POLL_HUP on a terminated connection.
PR 36951.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@306889
13f79535-47bb-0310-9956-
ffa450edef68
-*- coding: utf-8 -*-
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]
+
*) mod_proxy_balancer: mod_proxy_balancer does not handle sticky sessions
with tomcat correctly. PR36507. [Ruediger Pluem]
else
break;
}
- else if ((pollevent & APR_POLLERR) || (pollevent & APR_POLLHUP))
+ else if ((pollevent & APR_POLLERR) || (pollevent & APR_POLLHUP)) {
+ rv = APR_EOF;
break;
+ }
}
else
break;