Kylo Ginsberg <kylo@kylo.net>


Tested
r874156

r874156 | cmpilato | 2008-11-06 20:44:19 +0000 (Thu, 06 Nov 2008)

Fix issue #3275 by teaching the mod_dav_svn proxy logic to hand off
GET and PROPFIND requests that are aimed at working resource URIs to
the proxy instead of trying to field them in the slave server.

WARNING: I'm relying on my compiler and the testimony of the
         attributed tester to determine the legitimacy of this patch.
         Developers familiar with the proxy code are encouraged to
         review this commit!

* subversion/mod_dav_svn/mirror.c
  (proxy_request_fixup): New helper function, cored from
    dav_svn__proxy_merge_fixup().
  (dav_svn__proxy_merge_fixup): Look for GET and PROPFIND requests
    aimed at working resource URIs, and proxy those away, too.

Tested by: Kylo Ginsberg <kylo{_AT_}kylo.net>
Reviewed by: jerenkrantz