Mercurial > hg > nginx
comparison src/event/modules/ngx_poll_module.c @ 251:c31c40540318
nginx-0.0.2-2004-02-04-23:30:08 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Wed, 04 Feb 2004 20:30:08 +0000 |
parents | 1903c6821958 |
children | 84b1c672ec5a |
comparison
equal
deleted
inserted
replaced
250:1903c6821958 | 251:c31c40540318 |
---|---|
308 { | 308 { |
309 ngx_log_error(NGX_LOG_ALERT, log, 0, | 309 ngx_log_error(NGX_LOG_ALERT, log, 0, |
310 "strange poll() events fd:%d ev:%04X rev:%04X", | 310 "strange poll() events fd:%d ev:%04X rev:%04X", |
311 event_list[i].fd, | 311 event_list[i].fd, |
312 event_list[i].events, event_list[i].revents); | 312 event_list[i].events, event_list[i].revents); |
313 } | |
314 | |
315 if (event_list[i].fd == -1) { | |
316 | |
317 /* the disabled event, workaround for our possible bug */ | |
318 | |
319 continue; | |
313 } | 320 } |
314 | 321 |
315 c = &ngx_cycle->connections[event_list[i].fd]; | 322 c = &ngx_cycle->connections[event_list[i].fd]; |
316 | 323 |
317 if (c->fd == -1) { | 324 if (c->fd == -1) { |