]> git.kaiwu.me - nginx.git/commit
Events: handle only active events in eventport.
authorValentin Bartenev <vbart@nginx.com>
Fri, 12 Apr 2013 15:04:23 +0000 (15:04 +0000)
committerValentin Bartenev <vbart@nginx.com>
Fri, 12 Apr 2013 15:04:23 +0000 (15:04 +0000)
commitc6aebf6c7411c5d43bd63cf61db08a1ec914dc5c
tree7907854ab7dc45d5d4a5ea6db907f556793797d5
parented9f87c90119832c3c96fb9c352e53db61943fe4
Events: handle only active events in eventport.

We generate both read and write events if an error event was returned by
port_getn() without POLLIN/POLLOUT, but we should not try to handle inactive
events, they may even have no handler.
src/event/modules/ngx_eventport_module.c