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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user