Mercurial > hg > nginx
comparison src/http/ngx_http_upstream.c @ 2394:dbe746851b31
use ngx_ext_rename_file() for single file MOVE
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Wed, 10 Dec 2008 14:53:45 +0000 |
parents | 4ccaa42de633 |
children | cd6a1abe11a7 |
comparison
equal
deleted
inserted
replaced
2393:fbff569bf456 | 2394:dbe746851b31 |
---|---|
2286 | 2286 |
2287 u->pipe->temp_file = tf; | 2287 u->pipe->temp_file = tf; |
2288 } | 2288 } |
2289 | 2289 |
2290 ext.access = u->conf->store_access; | 2290 ext.access = u->conf->store_access; |
2291 ext.path_access = u->conf->store_access; | |
2291 ext.time = -1; | 2292 ext.time = -1; |
2292 ext.create_path = 1; | 2293 ext.create_path = 1; |
2293 ext.delete_file = 1; | 2294 ext.delete_file = 1; |
2295 ext.log_rename_error = 1; | |
2294 ext.log = r->connection->log; | 2296 ext.log = r->connection->log; |
2295 | 2297 |
2296 if (u->headers_in.last_modified) { | 2298 if (u->headers_in.last_modified) { |
2297 | 2299 |
2298 lm = ngx_http_parse_time(u->headers_in.last_modified->value.data, | 2300 lm = ngx_http_parse_time(u->headers_in.last_modified->value.data, |