Mercurial > hg > nginx-ranges
comparison src/http/ngx_http_upstream.c @ 324:f7cd062ee035 NGINX_0_6_6
nginx 0.6.6
*) Feature: the --sysconfdir=PATH option in configure.
*) Feature: named locations.
*) Feature: the $args variable can be set with the "set" directive.
*) Feature: the $is_args variable.
*) Bugfix: fair big weight upstream balancer.
*) Bugfix: if a client has closed connection to mail proxy then nginx
might not close connection to backend.
*) Bugfix: if the same host without specified port was used as backend
for HTTP and HTTPS, then nginx used only one port - 80 or 443.
*) Bugfix: fix building on Solaris/amd64 by Sun Studio 11 and early
versions; bug appeared in 0.6.4.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 30 Jul 2007 00:00:00 +0400 |
parents | 95183808f549 |
children | 9fc4ab6673f9 |
comparison
equal
deleted
inserted
replaced
323:7e977a664d91 | 324:f7cd062ee035 |
---|---|
3207 | 3207 |
3208 if (uscfp[i]->port != u->port) { | 3208 if (uscfp[i]->port != u->port) { |
3209 continue; | 3209 continue; |
3210 } | 3210 } |
3211 | 3211 |
3212 if (uscfp[i]->default_port && u->default_port | |
3213 && uscfp[i]->default_port != u->default_port) | |
3214 { | |
3215 continue; | |
3216 } | |
3217 | |
3212 return uscfp[i]; | 3218 return uscfp[i]; |
3213 } | 3219 } |
3214 | 3220 |
3215 uscf = ngx_pcalloc(cf->pool, sizeof(ngx_http_upstream_srv_conf_t)); | 3221 uscf = ngx_pcalloc(cf->pool, sizeof(ngx_http_upstream_srv_conf_t)); |
3216 if (uscf == NULL) { | 3222 if (uscf == NULL) { |