comparison src/event/modules/ngx_devpoll_module.c @ 364:7c54d93f5965

nginx-0.0.7-2004-06-22-20:43:09 import
author Igor Sysoev <igor@sysoev.ru>
date Tue, 22 Jun 2004 16:43:09 +0000
parents ba876b26b76d
children 744ccb59062d
comparison
equal deleted inserted replaced
363:f2755a2885c8 364:7c54d93f5965
243 } 243 }
244 244
245 /* we need to restore the second event if it exists */ 245 /* we need to restore the second event if it exists */
246 246
247 if (event == NGX_READ_EVENT) { 247 if (event == NGX_READ_EVENT) {
248 if (ev->accept) {
249 return NGX_OK;
250 }
251
248 e = c->write; 252 e = c->write;
249 event = POLLOUT; 253 event = POLLOUT;
250 254
251 } else { 255 } else {
252 e = c->read; 256 e = c->read;