Mercurial > hg > nginx
diff src/http/ngx_http_header_filter.c @ 63:36d2c25cc9bb
nginx-0.0.1-2003-02-26-23:21:43 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Wed, 26 Feb 2003 20:21:43 +0000 |
parents | a499e0d1f16e |
children | 34d647deb1da |
line wrap: on
line diff
--- a/src/http/ngx_http_header_filter.c +++ b/src/http/ngx_http_header_filter.c @@ -95,7 +95,8 @@ static int ngx_http_header_filter(ngx_ht ngx_log_debug(r->connection->log, "%d %d" _ ims _ r->headers_out.last_modified_time); - if (ims != NGX_ERROR && ims >= r->headers_out.last_modified_time) { + /* I think that the date equality is correcter */ + if (ims != NGX_ERROR && ims == r->headers_out.last_modified_time) { r->headers_out.status = NGX_HTTP_NOT_MODIFIED; r->headers_out.content_length = -1; r->headers_out.content_type->key.len = 0;