1
0
mirror of https://github.com/apache/httpd.git synced 2025-08-08 15:02:10 +03:00

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/trunk@306878 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jeff Trawick
2005-10-06 20:31:03 +00:00
parent a4e7576ddf
commit 8aa8c98bd0
2 changed files with 7 additions and 1 deletions

View File

@@ -357,8 +357,10 @@ static int proxy_connect_handler(request_rec *r, proxy_worker *worker,
else
break;
}
else if ((pollevent & APR_POLLERR) || (pollevent & APR_POLLHUP))
else if ((pollevent & APR_POLLERR) || (pollevent & APR_POLLHUP)) {
rv = APR_EOF;
break;
}
}
else
break;