]> git.kaiwu.me - nginx.git/commit
Upstream: simplified ip_hash and hash peer selection code.
authorRuslan Ermilov <ru@nginx.com>
Tue, 21 Apr 2015 16:09:04 +0000 (19:09 +0300)
committerRuslan Ermilov <ru@nginx.com>
Tue, 21 Apr 2015 16:09:04 +0000 (19:09 +0300)
commit673941f81dfc724f9d98d1d1c0e50c8e08e3e327
tree4932af1fad9ae8d72af3023d4b0e7baf5d46d704
parentb6517ea696e1cda71844c8d3178ad9835ec963b9
Upstream: simplified ip_hash and hash peer selection code.

Now that peers are stored as a list, the weighted and unweighted
cases became nearly identical.
src/http/modules/ngx_http_upstream_hash_module.c
src/http/modules/ngx_http_upstream_ip_hash_module.c
src/stream/ngx_stream_upstream_hash_module.c