comparison src/http/modules/ngx_http_headers_filter_module.c @ 466:9eda3153223b NGINX_0_7_45

nginx 0.7.45 *) Change: now the "proxy_cache" and the "proxy_cache_valid" can be set on different levels. *) Change: the "clean_time" parameter of the "proxy_cache_path" directive is canceled. *) Feature: the "max_size" parameter of the "proxy_cache_path" directive. *) Feature: the ngx_http_fastcgi_module preliminary cache support. *) Feature: now on shared memory allocation errors directive and zone names are logged. *) Bugfix: the directive "add_header last-modified ''" did not delete a "Last-Modified" response header line; the bug had appeared in 0.7.44. *) Bugfix: a relative path in the "auth_basic_user_file" directive given without variables did not work; the bug had appeared in 0.7.44. Thanks to Jerome Loyet. *) Bugfix: in an "alias" directive given using variables without references to captures of regular expressions; the bug had appeared in 0.7.42.
author Igor Sysoev <http://sysoev.ru>
date Mon, 30 Mar 2009 00:00:00 +0400
parents c8cfb6c462ef
children f39b9e29530d
comparison
equal deleted inserted replaced
465:29602be46850 466:9eda3153223b
606 hv->handler = set[i].handler; 606 hv->handler = set[i].handler;
607 607
608 break; 608 break;
609 } 609 }
610 610
611 if (value[2].len == 0) {
612 ngx_memzero(&hv->value, sizeof(ngx_http_complex_value_t));
613 return NGX_CONF_OK;
614 }
615
611 ngx_memzero(&ccv, sizeof(ngx_http_compile_complex_value_t)); 616 ngx_memzero(&ccv, sizeof(ngx_http_compile_complex_value_t));
612 617
613 ccv.cf = cf; 618 ccv.cf = cf;
614 ccv.value = &value[2]; 619 ccv.value = &value[2];
615 ccv.complex_value = &hv->value; 620 ccv.complex_value = &hv->value;