]> git.kaiwu.me - nginx.git/commit
Upstream: simplified peer selection loop in the "ip_hash" module.
authorVladimir Homutov <vl@nginx.com>
Mon, 9 Dec 2013 09:43:27 +0000 (13:43 +0400)
committerVladimir Homutov <vl@nginx.com>
Mon, 9 Dec 2013 09:43:27 +0000 (13:43 +0400)
commitc7a0b0466528ee588d3352981033e7590783e6bc
treecacc87b820388c62f36598d7bf7800a86eab54fe
parent85e6d211d0dcfa0f62fac568df52d23b2d8e4faa
Upstream: simplified peer selection loop in the "ip_hash" module.

Conditions for skipping ineligible peers are rewritten to make adding of new
conditions simpler and be in line with the "round_robin" and "least_conn"
modules.  No functional changes.
src/http/modules/ngx_http_upstream_ip_hash_module.c