commit | a2a229193abb45ad1ca4f6b3d2a7543b7e47976b | [log] [tgz] |
---|---|---|
author | Ruslan Ermilov <ru@nginx.com> | Thu Jan 10 12:58:55 2013 +0000 |
committer | Ruslan Ermilov <ru@nginx.com> | Thu Jan 10 12:58:55 2013 +0000 |
tree | ba7ee47761eb03b190121a9c4d69a7602560878e | |
parent | 2cbb7ae42a455437b55b77213e3351ee126b4fc9 [diff] |
Fixed "proxy_pass" with IP address and no port (ticket #276). Upstreams created by "proxy_pass" with IP address and no port were broken in 1.3.10, by not initializing port in u->sockaddr. API change: ngx_parse_url() was modified to always initialize port (in u->sockaddr and in u->port), even for the u->no_resolve case; ngx_http_upstream() and ngx_http_upstream_add() were adopted.