diff options
author | Igor Sysoev <igor@sysoev.ru> | 2009-08-12 12:05:33 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2009-08-12 12:05:33 +0000 |
commit | b7a09c55239a92201665781f2ffdc388fafa598f (patch) | |
tree | 316d43b0d8e21c7fe9445954456184aec3659b98 /src/http/ngx_http_file_cache.c | |
parent | c9538c069f95043d9a922a7ca3d311f7e2b7fde7 (diff) | |
download | nginx-b7a09c55239a92201665781f2ffdc388fafa598f.tar.gz nginx-b7a09c55239a92201665781f2ffdc388fafa598f.zip |
allow cross device temporary files atomic copying:
*) ngx_copy_file()
*) delete ngx_ext_rename_file_t.log_rename_error and .rename_error fields
Diffstat (limited to 'src/http/ngx_http_file_cache.c')
-rw-r--r-- | src/http/ngx_http_file_cache.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/http/ngx_http_file_cache.c b/src/http/ngx_http_file_cache.c index 27ac441fd..8972f47dc 100644 --- a/src/http/ngx_http_file_cache.c +++ b/src/http/ngx_http_file_cache.c @@ -650,7 +650,6 @@ ngx_http_file_cache_update(ngx_http_request_t *r, ngx_temp_file_t *tf) ext.time = -1; ext.create_path = 1; ext.delete_file = 1; - ext.log_rename_error = 1; ext.log = r->connection->log; rc = ngx_ext_rename_file(&tf->file.name, &c->file.name, &ext); |