comparison src/http/modules/ngx_http_not_modified_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 7e24168b0853
comparison
equal deleted inserted replaced
596:0381e6d3aa70 597:9262f520ce21
50 static ngx_int_t ngx_http_not_modified_header_filter(ngx_http_request_t *r) 50 static ngx_int_t ngx_http_not_modified_header_filter(ngx_http_request_t *r)
51 { 51 {
52 time_t ims; 52 time_t ims;
53 53
54 if (r->headers_out.status != NGX_HTTP_OK 54 if (r->headers_out.status != NGX_HTTP_OK
55 || r->main != r 55 || r != r->main
56 || r->headers_in.if_modified_since == NULL 56 || r->headers_in.if_modified_since == NULL
57 || r->headers_out.last_modified_time == -1) 57 || r->headers_out.last_modified_time == -1)
58 { 58 {
59 return ngx_http_next_header_filter(r); 59 return ngx_http_next_header_filter(r);
60 } 60 }