diff options
author | Igor Sysoev <igor@sysoev.ru> | 2008-02-21 13:58:45 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2008-02-21 13:58:45 +0000 |
commit | d3434dfa63c0884e64d9977acec7569e94b38e1b (patch) | |
tree | 90e6c4f5174f995da18625e0fae9a9a2265bda6f /src/http/ngx_http_upstream.c | |
parent | 09248b7a55f660d85e70e9999090063651c99904 (diff) | |
download | nginx-d3434dfa63c0884e64d9977acec7569e94b38e1b.tar.gz nginx-d3434dfa63c0884e64d9977acec7569e94b38e1b.zip |
check port in upstream list
Diffstat (limited to 'src/http/ngx_http_upstream.c')
-rw-r--r-- | src/http/ngx_http_upstream.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/http/ngx_http_upstream.c b/src/http/ngx_http_upstream.c index 89240c0b1..aedc504b6 100644 --- a/src/http/ngx_http_upstream.c +++ b/src/http/ngx_http_upstream.c @@ -392,6 +392,7 @@ ngx_http_upstream_init(ngx_http_request_t *r) 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; |