]> git.kaiwu.me - nginx.git/commit
Merge of r4992: off-by-one with 32/64 upstream backup servers.
authorMaxim Dounin <mdounin@mdounin.ru>
Mon, 11 Feb 2013 14:56:14 +0000 (14:56 +0000)
committerMaxim Dounin <mdounin@mdounin.ru>
Mon, 11 Feb 2013 14:56:14 +0000 (14:56 +0000)
commitff145c057451bfe40b5d59c5873091df07964831
tree66768fa4838f5b540f2f890f4f5b0655b1fcc982
parent6b070a4d216eb2083a96b3a3f24996f43940c4cd
Merge of r4992: off-by-one with 32/64 upstream backup servers.

Fixed off-by-one during upstream state resetting when switching to
backup servers if there were exactly 32 (64 on 64-bit platforms)
backup servers configured.

Based on patch by Thomas Chen (ticket #257).
src/http/modules/ngx_http_upstream_least_conn_module.c
src/http/ngx_http_upstream_round_robin.c