[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Branching slow 1.8.11 https

From: Johan Corveleyn <jcorvel_at_gmail.com>
Date: Wed, 1 Apr 2015 09:41:53 +0200

On Tue, Mar 31, 2015 at 8:49 PM, Johan Corveleyn <jcorvel_at_gmail.com> wrote:
> On Tue, Mar 31, 2015 at 2:19 AM, Johan Corveleyn <jcorvel_at_gmail.com> wrote:
> ...
>> I think I've found a workaround: it seems the tree walk by mod_dav is
>> avoided when the request has a header Depth with value 0. I've tried
>> adding
>>
>> <If "%{REQUEST_METHOD} == 'COPY'">
>> RequestHeader set Depth 0
>> </If>
>
> Apparently this workaround is specific to httpd 2.4 or higher
> (<If></If> is only available as of 2.4). Since the problem also exists
> in httpd 2.2.25 or higher, this might be a better way to do this:
>
> SetEnvIf Request_Method COPY method_is_copy
> RequestHeader set Depth 0 env=method_is_copy
>
> This should work both in 2.4 and 2.2.
>

This problem and its workaround are now documented in our FAQ:
http://subversion.apache.org/faq.html#dav-slow-copy

-- 
Johan
Received on 2015-04-01 09:42:45 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.