parent
ec6ef43624
commit
0e254f6bbb
|
@ -239,9 +239,7 @@ ngx_http_dav_put_handler(ngx_http_request_t *r)
|
||||||
|
|
||||||
#if !(NGX_WIN32)
|
#if !(NGX_WIN32)
|
||||||
|
|
||||||
if (ngx_change_file_access(temp->data, dlcf->access)
|
if (ngx_change_file_access(temp->data, dlcf->access) == NGX_FILE_ERROR) {
|
||||||
== NGX_FILE_ERROR)
|
|
||||||
{
|
|
||||||
err = ngx_errno;
|
err = ngx_errno;
|
||||||
not_found = NGX_HTTP_INTERNAL_SERVER_ERROR;
|
not_found = NGX_HTTP_INTERNAL_SERVER_ERROR;
|
||||||
failed = ngx_change_file_access_n;
|
failed = ngx_change_file_access_n;
|
||||||
|
|
|
@ -88,6 +88,7 @@ ngx_http_read_client_request_body(ngx_http_request_t *r,
|
||||||
}
|
}
|
||||||
|
|
||||||
post_handler(r);
|
post_handler(r);
|
||||||
|
|
||||||
return NGX_OK;
|
return NGX_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue