comparison src/http/modules/ngx_http_headers_filter_module.c @ 597:9262f520ce21 release-0.3.20

nginx-0.3.20-RELEASE import *) Bugfix: in SSI handling. *) Bugfix: the ngx_http_memcached_module did not support the keys in the "/usr?args" form.
author Igor Sysoev <igor@sysoev.ru>
date Wed, 11 Jan 2006 15:26:57 +0000
parents 4d9ea73a627a
children fbed40ce7cb4
comparison
equal deleted inserted replaced
596:0381e6d3aa70 597:9262f520ce21
95 ngx_table_elt_t *expires, *cc, **ccp, *h, *out; 95 ngx_table_elt_t *expires, *cc, **ccp, *h, *out;
96 ngx_http_headers_conf_t *conf; 96 ngx_http_headers_conf_t *conf;
97 97
98 if ((r->headers_out.status != NGX_HTTP_OK 98 if ((r->headers_out.status != NGX_HTTP_OK
99 && r->headers_out.status != NGX_HTTP_NOT_MODIFIED) 99 && r->headers_out.status != NGX_HTTP_NOT_MODIFIED)
100 || r->main != r) 100 || r != r->main)
101 { 101 {
102 return ngx_http_next_header_filter(r); 102 return ngx_http_next_header_filter(r);
103 } 103 }
104 104
105 conf = ngx_http_get_module_loc_conf(r, ngx_http_headers_filter_module); 105 conf = ngx_http_get_module_loc_conf(r, ngx_http_headers_filter_module);