/[Apache-SVN]
ViewVC logotype

Revision 1791290


Jump to revision: Previous Next
Author: kotkov
Date: Thu Apr 13 17:55:03 2017 UTC (6 years, 11 months ago)
Changed paths: 1
Log Message:
ra_serf: Revert part of r1704317 that enabled sending compressed svndiff1
deltas (during commit) to servers that don't properly advertise that they
support it.

This change introduced an assumption that every HTTPv2-speaking server
knows how to parse svndiff1.  After giving it a fresh look, I think that
the ability to send compressed deltas to existing servers is not worth
circumventing the capability negotiation scheme and possibly sending data
that cannot be interpreted by a server.  While the added heuristics works
for existing versions of mod_dav_svn, it might not hold for other (third-
party) server implementations, and is basically a hack.

So, keep it safe and only send compressed svndiff1 deltas to Subversion
1.10 servers that properly advertise they know how to deal with svndiff1.

* subversion/libsvn_ra_serf/options.c
  (capabilities_headers_iterator_callback): Stop assuming that every
   HTTPv2-capable server knows how to interpret incoming svndiff1
   deltas.


Changed paths

Path Details
Directorysubversion/trunk/subversion/libsvn_ra_serf/options.c modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26