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

Re: General question on Serf

From: Mark Phippard <markphip_at_gmail.com>
Date: Wed, 26 Sep 2012 09:44:59 -0400

On Wed, Sep 26, 2012 at 9:40 AM, Philip Martin
<philip.martin_at_wandisco.com>wrote:

> Mark Phippard <markphip_at_gmail.com> writes:
>
> > What happens with Serf? From what I know, I would assume that Serf has
> to
> > do a GET of the entire file. Is this true or does it somehow only
> request
> > a delta?
>
> Serf sends the delta base to the server (what does TEMPORARILY mean
> here?):
>
> /** This header is *TEMPORARILY* used to transmit the delta base to the
> * server. It contains a version resource URL for what is on the client.
> */
> #define SVN_DAV_DELTA_BASE_HEADER "X-SVN-VR-Base"
>
> so a GET looks like:
>
> GET /obj/repo/!svn/rvr/2/f HTTP/1.1
> Host: localhost:8888
> User-Agent: SVN/1.8.0-dev serf/1.1.1
> DAV: http://subversion.tigris.org/xmlns/dav/svn/depth
> DAV: http://subversion.tigris.org/xmlns/dav/svn/mergeinfo
> DAV: http://subversion.tigris.org/xmlns/dav/svn/log-revprops
> X-SVN-VR-Base: /obj/repo/!svn/rvr/1/f
> Accept-Encoding: svndiff1;q=0.9,svndiff;q=0.8
>
>
OK, thanks. I see that is documented here:

http://svn.apache.org/repos/asf/subversion/trunk/notes/http-and-webdav/webdav-protocol

I assumed it must send deltas somehow or we would be noticing performance
issues.

-- 
Thanks
Mark Phippard
http://markphip.blogspot.com/
Received on 2012-09-26 15:45:32 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.