diff options
| author | Igor Sysoev <igor@sysoev.ru> | 2004-02-02 21:19:52 +0000 |
|---|---|---|
| committer | Igor Sysoev <igor@sysoev.ru> | 2004-02-02 21:19:52 +0000 |
| commit | a4b16df728abe1e989a8311e901ba5d9ae30328e (patch) | |
| tree | 35d3d0ba37e1c285421688846c2954aa297a642c /src/event/modules/ngx_poll_module.c | |
| parent | 328af6e8cd26f274bf385cfff3c888725746ea4f (diff) | |
| download | nginx-a4b16df728abe1e989a8311e901ba5d9ae30328e.tar.gz nginx-a4b16df728abe1e989a8311e901ba5d9ae30328e.tar.bz2 | |
nginx-0.0.2-2004-02-03-00:19:52 import
Diffstat (limited to 'src/event/modules/ngx_poll_module.c')
| -rw-r--r-- | src/event/modules/ngx_poll_module.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/event/modules/ngx_poll_module.c b/src/event/modules/ngx_poll_module.c index 37c10e361..8727c2120 100644 --- a/src/event/modules/ngx_poll_module.c +++ b/src/event/modules/ngx_poll_module.c @@ -320,12 +320,12 @@ static int ngx_poll_process_events(ngx_log_t *log) found = 0; - if (event_list[i].revents & (POLLIN|POLLERR|POLLHUP)) { + if (event_list[i].revents & (POLLIN|POLLERR|POLLHUP|POLLNVAL)) { found = 1; ready_index[nready++] = c->read; } - if (event_list[i].revents & (POLLOUT|POLLERR|POLLHUP)) { + if (event_list[i].revents & (POLLOUT|POLLERR|POLLHUP|POLLNVAL)) { found = 1; ready_index[nready++] = c->write; } |
