Re: svn commit: r1365324 - reparenting an RA session each time it's used
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
> 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
> particular reparent operation occurs. And when discovered in this
> 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.
Received on 2012-07-25 05:16:44 CEST
This is an archived mail posted to the Subversion Dev