Mercurial > hg > nginx-mail
comparison src/http/modules/ngx_http_proxy_module.c @ 463:49a0eb7ce20c NGINX_0_7_29
nginx 0.7.29
*) Bugfix: the "fastcgi_pass" and "proxy_pass" directives did not
support variables if unix domain sockets were used.
*) Bugfixes in subrequest processing; the bugs had appeared in 0.7.25.
*) Bugfix: a "100 Continue" response was issued for HTTP/1.0 requests;
Thanks to Maxim Dounin.
*) Bugfix: in memory allocation in the ngx_http_gzip_filter_module on
Cygwin.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Wed, 24 Dec 2008 00:00:00 +0300 |
parents | dac47e9ef0d5 |
children | dc98ed169c03 |
comparison
equal
deleted
inserted
replaced
462:18f6c20ac73a | 463:49a0eb7ce20c |
---|---|
612 sizeof(ngx_http_upstream_resolved_t)); | 612 sizeof(ngx_http_upstream_resolved_t)); |
613 if (r->upstream->resolved == NULL) { | 613 if (r->upstream->resolved == NULL) { |
614 return NGX_ERROR; | 614 return NGX_ERROR; |
615 } | 615 } |
616 | 616 |
617 r->upstream->resolved->host = u.host; | 617 if (u.addrs[0].sockaddr) { |
618 r->upstream->resolved->port = (in_port_t) (u.no_port ? u.default_port: | 618 r->upstream->resolved->sockaddr = u.addrs[0].sockaddr; |
619 u.port); | 619 r->upstream->resolved->socklen = u.addrs[0].socklen; |
620 r->upstream->resolved->no_port = u.no_port; | 620 r->upstream->resolved->naddrs = 1; |
621 r->upstream->resolved->host = u.addrs[0].name; | |
622 | |
623 } else { | |
624 r->upstream->resolved->host = u.host; | |
625 r->upstream->resolved->port = (in_port_t) (u.no_port ? u.default_port: | |
626 u.port); | |
627 r->upstream->resolved->no_port = u.no_port; | |
628 } | |
621 | 629 |
622 return NGX_OK; | 630 return NGX_OK; |
623 } | 631 } |
624 | 632 |
625 | 633 |