TCP upstreams always used the first TCP upstream with the same name
Igor Sysoev
14 years ago
2842 | 2842 | uscfp = umcf->upstreams.elts; |
2843 | 2843 | |
2844 | 2844 | 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 | |
2846 | 2847 | || ngx_strncasecmp(uscfp[i]->host.data, u->host.data, u->host.len) |
2847 | 2848 | != 0) |
2848 | 2849 | { |