]> git.kaiwu.me - nginx.git/commit
Events: protection from stale events in eventport and devpoll.
authorValentin Bartenev <vbart@nginx.com>
Fri, 12 Apr 2013 15:02:33 +0000 (15:02 +0000)
committerValentin Bartenev <vbart@nginx.com>
Fri, 12 Apr 2013 15:02:33 +0000 (15:02 +0000)
commited9f87c90119832c3c96fb9c352e53db61943fe4
tree4feedf5c7c969c4f45aa2d367b974cb81e97f00f
parent7a7650aeb16ee21a5f596cd855c97066726c00a8
Events: protection from stale events in eventport and devpoll.

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

In practice this might result in "sendfilev() failed (134: ..." or
"writev() failed (134: ..." errors when switching to next upstream server.

See report here:
http://mailman.nginx.org/pipermail/nginx/2013-April/038421.html
src/event/modules/ngx_devpoll_module.c
src/event/modules/ngx_eventport_module.c