From: Igor Sysoev Date: Thu, 21 Feb 2008 13:58:45 +0000 (+0000) Subject: check port in upstream list X-Git-Tag: release-0.6.27~26 X-Git-Url: http://git.kaiwu.me/postgresql/log/contrib/postgres_fdw/static/gitweb.js?a=commitdiff_plain;h=d3434dfa63c0884e64d9977acec7569e94b38e1b;p=nginx.git check port in upstream list --- 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;