diff options
author | Igor Sysoev <igor@sysoev.ru> | 2004-06-22 20:43:09 +0400 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2004-06-22 20:43:09 +0400 |
commit | 3d5c0fc89e6a5e572e9e3071bd632cbc41b1f8d0 (patch) | |
tree | 38e5ffa627c505024b0eaf1f8d5924bff4e35902 /src/event | |
parent | b14169a714bb3deeb7f4912a58238f7a54aeecd1 (diff) |
nginx-0.0.7-2004-06-22-20:43:09 import
Diffstat (limited to 'src/event')
-rw-r--r-- | src/event/modules/ngx_devpoll_module.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/event/modules/ngx_devpoll_module.c b/src/event/modules/ngx_devpoll_module.c index 52caaf037..7e272ff8d 100644 --- a/src/event/modules/ngx_devpoll_module.c +++ b/src/event/modules/ngx_devpoll_module.c @@ -245,6 +245,10 @@ static int ngx_devpoll_del_event(ngx_event_t *ev, int event, u_int flags) /* we need to restore the second event if it exists */ if (event == NGX_READ_EVENT) { + if (ev->accept) { + return NGX_OK; + } + e = c->write; event = POLLOUT; |