Mercurial > hg > nginx-vendor-0-6
comparison src/http/ngx_http_header_filter_module.c @ 380:3ce4580ae286 NGINX_0_6_34
nginx 0.6.34
*) Change: now the EAGAIN error returned by connect() is not considered
as temporary error.
*) Change: now the "gzip_vary" directive turned on issues a
"Vary: Accept-Encoding" header line for uncompressed responses too.
*) Feature: the "expires" directive supports daily time.
*) Feature: the "Expect" request header line support.
*) Feature: now the "rewrite" directive does a redirect automatically
if the "https://" protocol is used.
*) Bugfix: the "listen" directive parameters such as "backlog",
"rcvbuf", etc. were not set, if a default server was not the first
one.
*) Bugfix: the "log_not_found" directive did not work for index files
tests.
*) Bugfix: now if FastCGI server sends a "Location" header line without
status line, then nginx uses 302 status code.
Thanks to Maxim Dounin.
*) Bugfix: the ngx_http_flv_module did not support several values in a
query string.
*) Bugfix: when a request to a directory was redirected with the slash
added, nginx dropped a query string from the original request.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Thu, 27 Nov 2008 00:00:00 +0300 |
parents | d13234035cad |
children |
comparison
equal
deleted
inserted
replaced
379:522189e0ef36 | 380:3ce4580ae286 |
---|---|
345 | 345 |
346 } else { | 346 } else { |
347 len += sizeof("Connection: closed" CRLF) - 1; | 347 len += sizeof("Connection: closed" CRLF) - 1; |
348 } | 348 } |
349 | 349 |
350 #if (NGX_HTTP_GZIP) | |
351 if (r->gzip && clcf->gzip_vary) { | |
352 len += sizeof("Vary: Accept-Encoding" CRLF) - 1; | |
353 } | |
354 #endif | |
355 | |
350 part = &r->headers_out.headers.part; | 356 part = &r->headers_out.headers.part; |
351 header = part->elts; | 357 header = part->elts; |
352 | 358 |
353 for (i = 0; /* void */; i++) { | 359 for (i = 0; /* void */; i++) { |
354 | 360 |
514 } else { | 520 } else { |
515 b->last = ngx_cpymem(b->last, "Connection: close" CRLF, | 521 b->last = ngx_cpymem(b->last, "Connection: close" CRLF, |
516 sizeof("Connection: close" CRLF) - 1); | 522 sizeof("Connection: close" CRLF) - 1); |
517 } | 523 } |
518 | 524 |
525 #if (NGX_HTTP_GZIP) | |
526 if (r->gzip && clcf->gzip_vary) { | |
527 b->last = ngx_cpymem(b->last, "Vary: Accept-Encoding" CRLF, | |
528 sizeof("Vary: Accept-Encoding" CRLF) - 1); | |
529 } | |
530 #endif | |
531 | |
519 part = &r->headers_out.headers.part; | 532 part = &r->headers_out.headers.part; |
520 header = part->elts; | 533 header = part->elts; |
521 | 534 |
522 for (i = 0; /* void */; i++) { | 535 for (i = 0; /* void */; i++) { |
523 | 536 |