mirror of
https://github.com/nginx/nginx.git
synced 2025-06-07 17:52:38 +08:00
Events: backout eventport changes (r5172) for now.
Evenport method needs more work. Changes in r5172, while being correct, introduce various new regressions with current code.
This commit is contained in:
parent
0dee57d865
commit
77d60d2cef
@ -530,14 +530,6 @@ ngx_eventport_process_events(ngx_cycle_t *cycle, ngx_msec_t timer,
|
|||||||
rev = c->read;
|
rev = c->read;
|
||||||
wev = c->write;
|
wev = c->write;
|
||||||
|
|
||||||
if (!rev->active) {
|
|
||||||
revents &= ~POLLIN;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!wev->active) {
|
|
||||||
revents &= ~POLLOUT;
|
|
||||||
}
|
|
||||||
|
|
||||||
rev->active = 0;
|
rev->active = 0;
|
||||||
wev->active = 0;
|
wev->active = 0;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user