]> git.kaiwu.me - nginx.git/commit
Upstream keepalive: drop ready flag on EAGAIN from recv(MSG_PEEK).
authorValentin Bartenev <vbart@nginx.com>
Tue, 3 Mar 2015 14:48:57 +0000 (17:48 +0300)
committerValentin Bartenev <vbart@nginx.com>
Tue, 3 Mar 2015 14:48:57 +0000 (17:48 +0300)
commit2f3fb935b454e7410d98717a33ab1da38d750e7e
tree318ec49377d5ad914bc4858db59b93030545cbd4
parentb38424726217cbdd00d3c71a535103023bef0c61
Upstream keepalive: drop ready flag on EAGAIN from recv(MSG_PEEK).

Keeping the ready flag in this case might results in missing notification of
broken connection until nginx tried to use it again.

While there, stale comment about stale event was removed since this function
is also can be called directly.
src/http/modules/ngx_http_upstream_keepalive_module.c