comparison src/http/ngx_http_upstream.c @ 3024:8101d9101ed8

allow cross device temporary files atomic copying: *) ngx_copy_file() *) delete ngx_ext_rename_file_t.log_rename_error and .rename_error fields
author Igor Sysoev <igor@sysoev.ru>
date Wed, 12 Aug 2009 12:05:33 +0000
parents f958084d4c12
children 524ba56ba9f7
comparison
equal deleted inserted replaced
3023:7d5501988fe3 3024:8101d9101ed8
2633 ext.access = u->conf->store_access; 2633 ext.access = u->conf->store_access;
2634 ext.path_access = u->conf->store_access; 2634 ext.path_access = u->conf->store_access;
2635 ext.time = -1; 2635 ext.time = -1;
2636 ext.create_path = 1; 2636 ext.create_path = 1;
2637 ext.delete_file = 1; 2637 ext.delete_file = 1;
2638 ext.log_rename_error = 1;
2639 ext.log = r->connection->log; 2638 ext.log = r->connection->log;
2640 2639
2641 if (u->headers_in.last_modified) { 2640 if (u->headers_in.last_modified) {
2642 2641
2643 lm = ngx_http_parse_time(u->headers_in.last_modified->value.data, 2642 lm = ngx_http_parse_time(u->headers_in.last_modified->value.data,