]> git.kaiwu.me - nginx.git/commit
Stream: prevent repeated event notifications after eof.
authorRoman Arutyunyan <arut@nginx.com>
Wed, 22 Apr 2015 16:55:04 +0000 (19:55 +0300)
committerRoman Arutyunyan <arut@nginx.com>
Wed, 22 Apr 2015 16:55:04 +0000 (19:55 +0300)
commit39386c951c6e2e898b4871156e61227c348e8bba
tree98706d020b00acc882c00d6b76bb8d1100339a94
parent25ddb49dbe00561d63242f6d2fcef43bfc7214c4
Stream: prevent repeated event notifications after eof.

When client or upstream connection is closed, level-triggered read event
remained active until the end of the session leading to cpu hog.  Now the flag
NGX_CLOSE_EVENT is used to unschedule the event.
src/stream/ngx_stream_proxy_module.c