From 3d5736770305c42dd10030969b18107abd2ae36a Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Tue, 4 Oct 2005 10:35:33 +0000 Subject: Changes with nginx 0.2.5 04 Oct 2005 *) Change: the duplicate value of the ngx_http_geo_module variable now causes the warning and changes old value. *) Feature: the ngx_http_ssi_module supports the "set" command. *) Feature: the ngx_http_ssi_module supports the "file" parameter in the "include" command. *) Feature: the ngx_http_ssi_module supports the variable value substitutions in epxiressions of the "if" command. --- src/http/modules/ngx_http_static_module.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/http/modules/ngx_http_static_module.c') diff --git a/src/http/modules/ngx_http_static_module.c b/src/http/modules/ngx_http_static_module.c index d8884cac8..afdbf7864 100644 --- a/src/http/modules/ngx_http_static_module.c +++ b/src/http/modules/ngx_http_static_module.c @@ -339,7 +339,7 @@ ngx_http_static_handler(ngx_http_request_t *r) b->in_file = 1; - if (r->main == NULL) { + if (r->main == r) { b->last_buf = 1; } -- cgit v1.2.1