comparison src/http/modules/ngx_http_headers_filter_module.c @ 553:45033d85b30e release-0.2.5

nginx-0.2.5-RELEASE import *) 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 expressions of the "if" command.
author Igor Sysoev <igor@sysoev.ru>
date Tue, 04 Oct 2005 10:38:53 +0000
parents 511a89da35ad
children 58475592100c
comparison
equal deleted inserted replaced
552:b6f3197058d3 553:45033d85b30e
82 ngx_table_elt_t *expires, *cc, **ccp; 82 ngx_table_elt_t *expires, *cc, **ccp;
83 ngx_http_headers_conf_t *conf; 83 ngx_http_headers_conf_t *conf;
84 84
85 if ((r->headers_out.status != NGX_HTTP_OK 85 if ((r->headers_out.status != NGX_HTTP_OK
86 && r->headers_out.status != NGX_HTTP_NOT_MODIFIED) 86 && r->headers_out.status != NGX_HTTP_NOT_MODIFIED)
87 || r->main) 87 || r->main != r)
88 { 88 {
89 return ngx_http_next_header_filter(r); 89 return ngx_http_next_header_filter(r);
90 } 90 }
91 91
92 conf = ngx_http_get_module_loc_conf(r, ngx_http_headers_filter_module); 92 conf = ngx_http_get_module_loc_conf(r, ngx_http_headers_filter_module);