/[Apache-SVN]
ViewVC logotype

Revision 1674627


Jump to revision: Previous Next
Author: stsp
Date: Sun Apr 19 14:58:57 2015 UTC (9 years, 8 months ago)
Changed paths: 1
Log Message:
Put jcorvel's workaround for issue #4531 into mod_dav_svn's implementation.

* subversion/mod_dav_svn/repos.c
  (get_resource): Set a Depth header with value "0" on copy requests.
   This prevents mod_dav's precondition check from recursing over the copy
   source tree and thus restores O(1) behaviour for 'svn copy' with current
   httpd releases.
   The alternative of patching mod_dav was also considered but has been
   dismissed. Ideally, there would be an API between mod_dav and its
   providers to enable/disable the precondition tree walk.

Patch by: me
          gstein


Changed paths

Path Details
Directorysubversion/trunk/subversion/mod_dav_svn/repos.c modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26