Mercurial > hg > nginx-vendor-0-6
comparison src/http/ngx_http_header_filter_module.c @ 376:d13234035cad NGINX_0_6_32
nginx 0.6.32
*) Change: the "none" parameter in the "ssl_session_cache" directive;
now this is default parameter.
Thanks to Rob Mueller.
*) Change: now the 0x00-0x1F, '"' and '\' characters are escaped as
\xXX in an access_log.
Thanks to Maxim Dounin.
*) Change: now nginx allows several "Host" request header line.
*) Feature: the "modified" flag in the "expires" directive.
*) Feature: the $uid_got and $uid_set variables may be used at any
request processing stage.
*) Feature: the $hostname variable.
Thanks to Andrei Nigmatulin.
*) Feature: DESTDIR support.
Thanks to Todd A. Fisher and Andras Voroskoi.
*) Bugfix: if sub_filter and SSI were used together, then responses
might were transferred incorrectly.
*) Bugfix: large SSI inclusions might be truncated.
*) Bugfix: the "proxy_pass" directive did not work with the HTTPS
protocol; the bug had appeared in 0.6.9.
*) Bugfix: worker processes might not catch reconfiguration and log
rotation signals.
*) Bugfix: nginx could not be built on latest Fedora 9 Linux.
Thanks to Roxis.
*) Bugfix: a segmentation fault might occur in worker process on Linux,
if keepalive was enabled.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 07 Jul 2008 00:00:00 +0400 |
parents | 54fad6c4b555 |
children | 3ce4580ae286 |
comparison
equal
deleted
inserted
replaced
375:52f3c9c7eff0 | 376:d13234035cad |
---|---|
284 | 284 |
285 if (clcf->server_name_in_redirect) { | 285 if (clcf->server_name_in_redirect) { |
286 cscf = ngx_http_get_module_srv_conf(r, ngx_http_core_module); | 286 cscf = ngx_http_get_module_srv_conf(r, ngx_http_core_module); |
287 host = cscf->server_name; | 287 host = cscf->server_name; |
288 | 288 |
289 } else if (r->headers_in.host) { | 289 } else if (r->headers_in.server.len) { |
290 host.len = r->headers_in.host_name_len; | 290 host = r->headers_in.server; |
291 host.data = r->headers_in.host->value.data; | |
292 | 291 |
293 } else { | 292 } else { |
294 host.data = addr; | 293 host.data = addr; |
295 | 294 |
296 if (ngx_http_server_addr(r, &host) != NGX_OK) { | 295 if (ngx_http_server_addr(r, &host) != NGX_OK) { |
535 if (header[i].hash == 0) { | 534 if (header[i].hash == 0) { |
536 continue; | 535 continue; |
537 } | 536 } |
538 | 537 |
539 b->last = ngx_copy(b->last, header[i].key.data, header[i].key.len); | 538 b->last = ngx_copy(b->last, header[i].key.data, header[i].key.len); |
540 *b->last++ = ':' ; *b->last++ = ' ' ; | 539 *b->last++ = ':'; *b->last++ = ' '; |
541 | 540 |
542 b->last = ngx_copy(b->last, header[i].value.data, header[i].value.len); | 541 b->last = ngx_copy(b->last, header[i].value.data, header[i].value.len); |
543 *b->last++ = CR; *b->last++ = LF; | 542 *b->last++ = CR; *b->last++ = LF; |
544 } | 543 } |
545 | 544 |