]> git.kaiwu.me - nginx.git/commit
Protection from stale write events in epoll.
authorMaxim Dounin <mdounin@mdounin.ru>
Tue, 22 Nov 2011 17:02:21 +0000 (17:02 +0000)
committerMaxim Dounin <mdounin@mdounin.ru>
Tue, 22 Nov 2011 17:02:21 +0000 (17:02 +0000)
commit7f59728d5b78268ff94f9d3ab464022b48d0f6ea
treef6ee69c1086e3f284470433a10a53b4b5f1c179b
parent0560ae55bccfd14c1abc76f1282ed46c324fb771
Protection from stale write events in epoll.

Stale write event may happen if epoll_wait() reported both read and write
events, and processing of the read event closed descriptor.

Patch by Yichun Zhang (agentzh).
src/event/modules/ngx_epoll_module.c