mirror of
https://github.com/nginx/nginx.git
synced 2025-06-11 20:53:30 +08:00
add comment
This commit is contained in:
parent
58d04fe3fa
commit
ac487bff1e
@ -422,6 +422,11 @@ ok:
|
|||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
|
/*
|
||||||
|
* we do not need to test (r->uri.data[r->uri.len - 1] == '/')
|
||||||
|
* because it ngx_file_info("/file/") returned NGX_ENOTDIR above
|
||||||
|
*/
|
||||||
|
|
||||||
depth = ngx_http_dav_depth(r, 0);
|
depth = ngx_http_dav_depth(r, 0);
|
||||||
|
|
||||||
if (depth != 0 && depth != NGX_HTTP_DAV_INFINITY_DEPTH) {
|
if (depth != 0 && depth != NGX_HTTP_DAV_INFINITY_DEPTH) {
|
||||||
|
Loading…
Reference in New Issue
Block a user