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

Re: svn commit: r1365324 - reparenting an RA session each time it's used

From: Greg Stein <gstein_at_gmail.com>
Date: Tue, 24 Jul 2012 23:16:05 -0400

On Jul 24, 2012 9:32 PM, "C. Michael Pilato" <cmpilato_at_collab.net> wrote:
>...
> For ra_serf: I was right again. It's just a string operation when the
> repos root URL is known. But I overestimated how common it was for this
> value to be known. All HTTPv2 servers transmit the repos root URL when
the
> session is initialized via the OPTIONS command. For older servers, the
> repos root URL is calculated and cached opportunistically as part of other
> operations, but isn't strictly guaranteed to have been determined before
any
> particular reparent operation occurs. And when discovered in this
fashion,
> it's done using the very sort of PROPFIND dance that HTTPv2 was introduced
> to eliminate. So yeah, potentially pretty costly.

But that dance *must* occur at least once for old servers. Whether it
happens at reparent, or some other operation... as long as the result is
saved, then there is zero *additional* cost to a reparent in ra_serf.

Cheers,
-g
Received on 2012-07-25 05:16:44 CEST

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.