]> git.kaiwu.me - nginx.git/commit
Upstream: fixed EOF handling in unbuffered and upgraded modes.
authorMaxim Dounin <mdounin@mdounin.ru>
Thu, 18 Jul 2019 15:27:52 +0000 (18:27 +0300)
committerMaxim Dounin <mdounin@mdounin.ru>
Thu, 18 Jul 2019 15:27:52 +0000 (18:27 +0300)
commit20c8c4fe35d290abe298cea9a4f1756fcfec19f4
tree13ce994579a1f6d91a5d7d1c9ac3c879d6c5de14
parent36dfa020f256dfc5beed3366be099d99543ad5b2
Upstream: fixed EOF handling in unbuffered and upgraded modes.

With level-triggered event methods it is important to specify
the NGX_CLOSE_EVENT flag to ngx_handle_read_event(), otherwise
the event won't be removed, resulting in CPU hog.

Reported by Patrick Wollgast.
src/http/ngx_http_upstream.c