Mercurial > hg > nginx
diff src/http/modules/ngx_http_static_module.c @ 691:fd8a64f5dd3b
backout O_NOATIME support, it requires CAP_FOWNER capability
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 14 Sep 2006 15:05:48 +0000 |
parents | 364195c9ee00 |
children | c3ebeee31026 |
line wrap: on
line diff
--- a/src/http/modules/ngx_http_static_module.c +++ b/src/http/modules/ngx_http_static_module.c @@ -125,8 +125,7 @@ ngx_http_static_handler(ngx_http_request return NGX_HTTP_INTERNAL_SERVER_ERROR; } - fd = ngx_open_file(path.data, NGX_FILE_RDONLY|NGX_FILE_NOATIME, - NGX_FILE_OPEN); + fd = ngx_open_file(path.data, NGX_FILE_RDONLY, NGX_FILE_OPEN); if (fd == NGX_INVALID_FILE) { err = ngx_errno;