Klaus Demo nginx / e60b99f
TCP upstreams always used the first TCP upstream with the same name Igor Sysoev 14 years ago
1 changed file(s) with 2 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
28422842 uscfp = umcf->upstreams.elts;
28432843
28442844 for (i = 0; i < umcf->upstreams.nelts; i++) {
2845 if (uscfp[i]->host.len != u->host.len
2845 if (uscfp[i]->port != u->portn
2846 || uscfp[i]->host.len != u->host.len
28462847 || ngx_strncasecmp(uscfp[i]->host.data, u->host.data, u->host.len)
28472848 != 0)
28482849 {