Mercurial > hg > nginx
changeset 1902:37f4020963dc
check port in upstream list
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 21 Feb 2008 13:58:45 +0000 |
parents | d880fa02fb65 |
children | 1ea922585517 |
files | src/http/ngx_http_upstream.c |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/http/ngx_http_upstream.c Tue Feb 19 16:34:55 2008 +0000 +++ b/src/http/ngx_http_upstream.c Thu Feb 21 13:58:45 2008 +0000 @@ -392,6 +392,7 @@ uscf = uscfp[i]; if (uscf->host.len == host->len + && uscf->port == u->resolved->port && ngx_memcmp(uscf->host.data, host->data, host->len) == 0) { goto found;