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

Re: mod_dav_svn assert on root location

From: Daniel Shahaf <danielsh_at_elego.de>
Date: Thu, 13 Dec 2012 13:23:05 +0200

Philip Martin wrote on Wed, Dec 12, 2012 at 14:13:34 +0000:
> Erez Zarum <erezzarum_at_gmail.com> writes:
>
> > I am trying to create a master slave configuration with proxy requests
> > through the slave, i have used this configuration on the slave:
> > <Location />
> > DAV svn
> > SVNPath /scratch/repo
> > ....
> > SVNMasterURI "http://master.server.com/svn"
> > ...
> > </Location>
> >
> > In 1.7.7 the SVNMasterURI won't let me use http://master.server.com/
> > in 1.6.19 it will.
>
> That was a deliberate change in r1064734. I'm not sure what went wrong
> with that setup but the log message is:
>
> Disallow attempts to proxy to the server root of a master server. It
> really just doesn't pan out well when you do.
>
> > But when i use <Location /> i get the following assert in the apache
> > error_log (the main log): "httpd: subversion/mod_dav_svn/mirror.c:47:
> > proxy_request_fixup: Assertion `(uri_segment[0] == '\0') ||
> > (uri_segment[0] == '/')' failed."
> > If i use <Location /url> then everything works as expected.
>
> I've raised
> http://subversion.tigris.org/issues/show_bug.cgi?id=4272
> for the assert.

Do you plan to work on this, or should I apply the patch I posted
elsethread? Even if it's not the best fix it does resolve an assertion,
so we could apply it now and look at further improvements later.
Received on 2012-12-13 12:24:13 CET

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

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