]> granicus.if.org Git - apache/commit
mod_dav: Avoid doing the walk on a COPY source for handling preconditions if
authorBen Reser <breser@apache.org>
Sun, 3 May 2015 18:02:33 +0000 (18:02 +0000)
committerBen Reser <breser@apache.org>
Sun, 3 May 2015 18:02:33 +0000 (18:02 +0000)
commit40670acf6b06b35b46fb69e3b38950f14b43a2c2
treed8aeaad7fd739d4581eecf6d53b8c392c10d4d94
parenta8783b3fec9e6ed1579eb03d60811f7e1518532b
mod_dav: Avoid doing the walk on a COPY source for handling preconditions if
there are no preconditions provided.

* modules/dav/main/util.c:
  (dav_validate_request): avoid validating locks and ETags when there are
    no If headers providing them on a resource we aren't modifying.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1677462 13f79535-47bb-0310-9956-ffa450edef68
modules/dav/main/util.c