comparison src/http/modules/ngx_http_dav_module.c @ 1075:4d203f76b757

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()
author Igor Sysoev <igor@sysoev.ru>
date Thu, 25 Jan 2007 08:45:04 +0000
parents 8e5c032e7855
children b2e6eb425770
comparison
equal deleted inserted replaced
1074:8164f479b362 1075:4d203f76b757
133 return NGX_HTTP_BAD_REQUEST; 133 return NGX_HTTP_BAD_REQUEST;
134 } 134 }
135 135
136 r->request_body_in_file_only = 1; 136 r->request_body_in_file_only = 1;
137 r->request_body_in_persistent_file = 1; 137 r->request_body_in_persistent_file = 1;
138 r->request_body_delete_incomplete_file = 1; 138 r->request_body_in_clean_file = 1;
139 r->request_body_file_group_access = 1; 139 r->request_body_file_group_access = 1;
140 r->request_body_file_log_level = 0; 140 r->request_body_file_log_level = 0;
141 141
142 rc = ngx_http_read_client_request_body(r, ngx_http_dav_put_handler); 142 rc = ngx_http_read_client_request_body(r, ngx_http_dav_put_handler);
143 143