-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow mod_dav_fs to tolerate race conditions between PROPFIND and an
operation which removes a directory/file is removed between apr_dir_read() and apr_stat(). Current behaviour is to abort the connection which seems inferior to tolerating (and logging) the error. * modules/dav/fs/repos.c (dav_fs_walker): If DAV_WALKTYPE_TOLERANT is set, ignore ENOENT from stat() rather than aborting the response. Log the error from stat either way. * modules/dav/main/mod_dav.c (dav_method_propfind): Set DAV_WALKTYPE_TOLERANT. * modules/dav/main/mod_dav.h: Add DAV_WALKTYPE_TOLERANT.
- Loading branch information
Showing
3 changed files
with
13 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters