Mercurial > hg > nginx
diff src/http/modules/ngx_http_upstream_hash_module.c @ 6697:52367732bcbc
Upstream hash: fixed missing upstream name initialization.
author | Vladimir Homutov <vl@nginx.com> |
---|---|
date | Fri, 16 Sep 2016 15:13:24 +0300 |
parents | bf8b6534db3a |
children | 914d8a63dbad |
line wrap: on
line diff
--- a/src/http/modules/ngx_http_upstream_hash_module.c +++ b/src/http/modules/ngx_http_upstream_hash_module.c @@ -571,6 +571,7 @@ ngx_http_upstream_get_chash_peer(ngx_pee hp->tries++; if (hp->tries >= points->number) { + pc->name = hp->rrp.peers->name; ngx_http_upstream_rr_peers_unlock(hp->rrp.peers); return NGX_BUSY; }