PATCHES ACCEPTED TO BACKPORT FROM TRUNK:
[ start all new proposals below, under PATCHES PROPOSED. ]
- * mod_dav: Avoid some work that is unnecessary and often very time consuming.
- This helps mitigate Subversion issue #4531:
- http://subversion.tigris.org/issues/show_bug.cgi?id=4531
- SVN has their own workaround for this going out that helps more but is a bit
- of a hack. This is as far as we can go without violating DAV in httpd.
- trunk patch: http://svn.apache.org/r1677462
- 2.4.x patch: trunk works (modulo CHANGES)
- +1: breser, trawick, ylavic
-
*) mod_authz_core: Allow "Require expr" to work when the expression is quoted,
as in an example in the doc. PR 56235
trunk patch: http://svn.apache.org/r1585609
}
}
- /* (1) Validate the specified resource, at the specified depth */
- if (resource->exists && depth > 0) {
+ /* (1) Validate the specified resource, at the specified depth.
+ * Avoid the walk there is no if_header and we aren't planning
+ * to modify this resource. */
+ if (resource->exists && depth > 0 && !(!if_header && flags & DAV_VALIDATE_NO_MODIFY)) {
dav_walker_ctx ctx = { { 0 } };
dav_response *multi_status;