From cd5b99a0450ea5c6bdf8a40d607760d93b1c1190 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Thu, 25 Jan 2007 08:45:04 +0000 Subject: undo "client_body_in_file_only any" and introduce "client_body_in_file_only clean" introduce ngx_pool_delete_file() to not break a possible third-party ngx_pool_cleanup_file() usage that may lead to an removal of the useful files delete unnecessary ngx_http_finalize_request_body() --- src/http/modules/ngx_http_dav_module.c | 2 +- src/http/modules/perl/nginx.xs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/http/modules') diff --git a/src/http/modules/ngx_http_dav_module.c b/src/http/modules/ngx_http_dav_module.c index 277a5bfc9..5a2f0cacb 100644 --- a/src/http/modules/ngx_http_dav_module.c +++ b/src/http/modules/ngx_http_dav_module.c @@ -135,7 +135,7 @@ ngx_http_dav_handler(ngx_http_request_t *r) r->request_body_in_file_only = 1; r->request_body_in_persistent_file = 1; - r->request_body_delete_incomplete_file = 1; + r->request_body_in_clean_file = 1; r->request_body_file_group_access = 1; r->request_body_file_log_level = 0; diff --git a/src/http/modules/perl/nginx.xs b/src/http/modules/perl/nginx.xs index f13ce0f46..421fa7e8e 100644 --- a/src/http/modules/perl/nginx.xs +++ b/src/http/modules/perl/nginx.xs @@ -363,7 +363,7 @@ has_request_body(r, next) r->request_body_in_single_buf = 1; r->request_body_in_persistent_file = 1; - r->request_body_delete_incomplete_file = 1; + r->request_body_in_clean_file = 1; if (r->request_body_in_file_only) { r->request_body_file_log_level = 0; -- cgit