Mercurial > hg > nginx
changeset 901:cc4273a2597e
upstream name was tried to resolve
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 11 Dec 2006 15:12:07 +0000 |
parents | 7cd557624b04 |
children | 06c58edc8883 |
files | src/http/ngx_http_upstream.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/http/ngx_http_upstream.c Mon Dec 11 11:06:20 2006 +0000 +++ b/src/http/ngx_http_upstream.c Mon Dec 11 15:12:07 2006 +0000 @@ -2843,7 +2843,7 @@ uscfp = umcf->upstreams.elts; for (i = 0; i < umcf->upstreams.nelts; i++) { - if (uscfp[i]->port != u->portn + if ((uscfp[i]->port && uscfp[i]->port != u->portn) || uscfp[i]->host.len != u->host.len || ngx_strncasecmp(uscfp[i]->host.data, u->host.data, u->host.len) != 0)