Mercurial > hg > nginx
comparison src/event/modules/ngx_poll_module.c @ 248:e885208c518b
nginx-0.0.2-2004-02-03-00:19:52 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 02 Feb 2004 21:19:52 +0000 |
parents | 008276b9e061 |
children | 1903c6821958 |
comparison
equal
deleted
inserted
replaced
247:008276b9e061 | 248:e885208c518b |
---|---|
318 continue; | 318 continue; |
319 } | 319 } |
320 | 320 |
321 found = 0; | 321 found = 0; |
322 | 322 |
323 if (event_list[i].revents & (POLLIN|POLLERR|POLLHUP)) { | 323 if (event_list[i].revents & (POLLIN|POLLERR|POLLHUP|POLLNVAL)) { |
324 found = 1; | 324 found = 1; |
325 ready_index[nready++] = c->read; | 325 ready_index[nready++] = c->read; |
326 } | 326 } |
327 | 327 |
328 if (event_list[i].revents & (POLLOUT|POLLERR|POLLHUP)) { | 328 if (event_list[i].revents & (POLLOUT|POLLERR|POLLHUP|POLLNVAL)) { |
329 found = 1; | 329 found = 1; |
330 ready_index[nready++] = c->write; | 330 ready_index[nready++] = c->write; |
331 } | 331 } |
332 | 332 |
333 if (found) { | 333 if (found) { |