/[Apache-SVN]
ViewVC logotype

Revision 1704891


Jump to revision: Previous Next
Author: kotkov
Date: Wed Sep 23 16:34:48 2015 UTC (8 years, 6 months ago)
Changed paths: 3
Log Message:
Following up on r1704317, advertise svndiff1 support in mod_dav_svn servers.

When parsing OPTIONS responses in ra_serf, record that we can use svndiff1
upon seeing the new DAV header.  If there is no such header, use the current
approach of sending svndiff1 to servers that support Subversion's HTTPv2
protocol.

Related discussion is in http://svn.haxx.se/dev/archive-2015-09/0278.shtml
(Subject: "Re: svn commit: r1704317 - ...").

* subversion/include/svn_dav.h
  (SVN_DAV_NS_DAV_SVN_SVNDIFF1): New.

* subversion/mod_dav_svn/version.c
  (get_vsn_options): Advertise that svndiff1 is supported by the server.

* subversion/libsvn_ra_serf/options.c
  (capabilities_headers_iterator_callback): Record svndiff1 support if the
   server advertises it with the new header.  Update the related comment.

Suggested by: danielsh


Changed paths

Path Details
Directorysubversion/trunk/subversion/include/svn_dav.h modified , text changed
Directorysubversion/trunk/subversion/libsvn_ra_serf/options.c modified , text changed
Directorysubversion/trunk/subversion/mod_dav_svn/version.c modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26