# HG changeset patch # User Igor Sysoev # Date 1199390769 0 # Node ID 252110065e0ad1f91a401fac03ec2d669a6e9401 # Parent 559fedc0c78adcc28be2929408487be21170d19c axe useless code diff --git a/src/http/modules/ngx_http_dav_module.c b/src/http/modules/ngx_http_dav_module.c --- a/src/http/modules/ngx_http_dav_module.c +++ b/src/http/modules/ngx_http_dav_module.c @@ -688,12 +688,6 @@ destination_done: overwrite_done: - rc = ngx_http_discard_request_body(r); - - if (rc != NGX_OK) { - return rc; - } - ngx_http_map_uri_to_path(r, &path, &root, 0); ngx_log_debug1(NGX_LOG_DEBUG_HTTP, r->connection->log, 0,