Mercurial > hg > nginx-mail
comparison src/http/modules/ngx_http_fastcgi_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 |
---|---|
510 sizeof(ngx_http_upstream_resolved_t)); | 510 sizeof(ngx_http_upstream_resolved_t)); |
511 if (r->upstream->resolved == NULL) { | 511 if (r->upstream->resolved == NULL) { |
512 return NGX_ERROR; | 512 return NGX_ERROR; |
513 } | 513 } |
514 | 514 |
515 r->upstream->resolved->host = u.host; | 515 if (u.addrs[0].sockaddr) { |
516 r->upstream->resolved->port = u.port; | 516 r->upstream->resolved->sockaddr = u.addrs[0].sockaddr; |
517 r->upstream->resolved->socklen = u.addrs[0].socklen; | |
518 r->upstream->resolved->naddrs = 1; | |
519 r->upstream->resolved->host = u.addrs[0].name; | |
520 | |
521 } else { | |
522 r->upstream->resolved->host = u.host; | |
523 r->upstream->resolved->port = u.port; | |
524 } | |
517 | 525 |
518 return NGX_OK; | 526 return NGX_OK; |
519 } | 527 } |
520 | 528 |
521 | 529 |