comparison src/http/modules/ngx_http_headers_filter_module.c @ 146:36af50a5582d NGINX_0_3_20

nginx 0.3.20 *) Bugfix: in SSI handling. *) Bugfix: the ngx_http_memcached_module did not support the keys in the "/usr?args" form.
author Igor Sysoev <http://sysoev.ru>
date Wed, 11 Jan 2006 00:00:00 +0300
parents df17fbafec8f
children 3080c5392b89
comparison
equal deleted inserted replaced
145:85a84f8da62b 146:36af50a5582d
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);