comparison src/http/modules/ngx_http_dav_module.c @ 692:6db6e93f55ee NGINX_1_3_9

nginx 1.3.9 *) Feature: support for chunked transfer encoding while reading client request body. *) Feature: the $request_time and $msec variables can now be used not only in the "log_format" directive. *) Bugfix: cache manager and cache loader processes might not be able to start if more than 512 listen sockets were used. *) Bugfix: in the ngx_http_dav_module.
author Igor Sysoev <http://sysoev.ru>
date Tue, 27 Nov 2012 00:00:00 +0400
parents d0f7a625f27c
children
comparison
equal deleted inserted replaced
691:acfd484db0ca 692:6db6e93f55ee
207 ngx_uint_t status; 207 ngx_uint_t status;
208 ngx_file_info_t fi; 208 ngx_file_info_t fi;
209 ngx_ext_rename_file_t ext; 209 ngx_ext_rename_file_t ext;
210 ngx_http_dav_loc_conf_t *dlcf; 210 ngx_http_dav_loc_conf_t *dlcf;
211 211
212 if (r->request_body == NULL || r->request_body->temp_file == NULL) {
213 ngx_http_finalize_request(r, NGX_HTTP_INTERNAL_SERVER_ERROR);
214 return;
215 }
216
212 ngx_http_map_uri_to_path(r, &path, &root, 0); 217 ngx_http_map_uri_to_path(r, &path, &root, 0);
213 218
214 path.len--; 219 path.len--;
215 220
216 ngx_log_debug1(NGX_LOG_DEBUG_HTTP, r->connection->log, 0, 221 ngx_log_debug1(NGX_LOG_DEBUG_HTTP, r->connection->log, 0,