diff options
Diffstat (limited to 'src/http/ngx_http_file_cache.c')
| -rw-r--r-- | src/http/ngx_http_file_cache.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/http/ngx_http_file_cache.c b/src/http/ngx_http_file_cache.c index 5209f003b..7f27c3fe8 100644 --- a/src/http/ngx_http_file_cache.c +++ b/src/http/ngx_http_file_cache.c @@ -1554,13 +1554,6 @@ ngx_http_file_cache_update_header(ngx_http_request_t *r) goto done; } - if ((size_t) n != sizeof(ngx_http_file_cache_header_t)) { - ngx_log_error(NGX_LOG_CRIT, r->connection->log, 0, - ngx_read_file_n " read only %z of %z from \"%s\"", - n, sizeof(ngx_http_file_cache_header_t), file.name.data); - goto done; - } - if (h.version != NGX_HTTP_CACHE_VERSION || h.last_modified != c->last_modified || h.crc32 != c->crc32 |
