Mercurial > hg > nginx-quic
comparison src/event/modules/ngx_eventport_module.c @ 5175:56b5ef2c9e37
Events: backout eventport changes (r5172) for now.
Evenport method needs more work. Changes in r5172, while being correct,
introduce various new regressions with current code.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Tue, 16 Apr 2013 12:58:03 +0000 |
parents | a4d21534cbf4 |
children | 3377f9459e99 |
comparison
equal
deleted
inserted
replaced
5174:f458156fd46a | 5175:56b5ef2c9e37 |
---|---|
528 | 528 |
529 c = ev->data; | 529 c = ev->data; |
530 rev = c->read; | 530 rev = c->read; |
531 wev = c->write; | 531 wev = c->write; |
532 | 532 |
533 if (!rev->active) { | |
534 revents &= ~POLLIN; | |
535 } | |
536 | |
537 if (!wev->active) { | |
538 revents &= ~POLLOUT; | |
539 } | |
540 | |
541 rev->active = 0; | 533 rev->active = 0; |
542 wev->active = 0; | 534 wev->active = 0; |
543 | 535 |
544 if (revents & POLLIN) { | 536 if (revents & POLLIN) { |
545 | 537 |