aboutsummaryrefslogtreecommitdiff
path: root/src/os/unix/ngx_linux_sendfile_chain.c
diff options
context:
space:
mode:
authorMaxim Dounin <mdounin@mdounin.ru>2013-05-21 21:47:50 +0400
committerMaxim Dounin <mdounin@mdounin.ru>2013-05-21 21:47:50 +0400
commita1ab0dde4a34494214b0ad77f3a84bb18e72e08e (patch)
tree1a9693a293db52b939d458515cbea8a82e032605 /src/os/unix/ngx_linux_sendfile_chain.c
parent2b1779b9162541286c4d046411d4050d95a05ee8 (diff)
downloadnginx-a1ab0dde4a34494214b0ad77f3a84bb18e72e08e.tar.gz
nginx-a1ab0dde4a34494214b0ad77f3a84bb18e72e08e.zip
Upstream: fixed fail_timeout and max_fails > 1.
Due to peer->checked always set since rev. c90801720a0c (1.3.0) by round-robin and least_conn balancers (ip_hash not affected), the code in ngx_http_upstream_free_round_robin_peer() function incorrectly reset peer->fails too often. Reported by Dmitry Popov, http://mailman.nginx.org/pipermail/nginx-devel/2013-May/003720.html
Diffstat (limited to 'src/os/unix/ngx_linux_sendfile_chain.c')
0 files changed, 0 insertions, 0 deletions