Mercurial > hg > nginx-quic
diff src/http/modules/ngx_http_proxy_module.c @ 2285:c77f4710595c
fix r1913
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 30 Oct 2008 15:59:10 +0000 |
parents | c3035feb6638 |
children | d88e757cc7d8 |
line wrap: on
line diff
--- a/src/http/modules/ngx_http_proxy_module.c +++ b/src/http/modules/ngx_http_proxy_module.c @@ -616,7 +616,7 @@ ngx_http_proxy_eval(ngx_http_request_t * r->upstream->resolved->host = u.host; r->upstream->resolved->port = (in_port_t) (u.no_port ? u.default_port: u.port); - r->upstream->resolved->default_port = u.default_port; + r->upstream->resolved->no_port = u.no_port; return NGX_OK; }