1.8.0 bug: Incorrect Accept-Encoding header causes Subversion client to fail to update from Apache httpd behind IIS as reverse proxy.
From: George Schizas <gschizas_at_gmail.com>
Date: Thu, 27 Jun 2013 18:50:19 +0300
When doing an svn checkout (or svn update), on a repo that is served by
The problem is that the Accept-Encoding header is the following:
gzip;svndiff1;q=0.9,svndiff;q=0.8
But it should be:
gzip,svndiff1;q=0.9,svndiff;q=0.8
or
gzip;q=1.0, svndiff1;q=0.9, svndiff;q=0.8
T
As it currently stands, it's not a particularly good HTTP header. Obviously
The problem lies in the file subversion/libsvn_ra_serf/update.c, which was
There is a workaround, to disable http compression for any server that
The actual solution, is very simple, so, I'm proposing a patch below
Index: subversion/libsvn_ra_serf/update.c
-- George Schizas ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Afhse me mono mou, emena kai ton klwno mou Leave me alone, just me and my cloneReceived on 2013-06-27 18:30:32 CEST |
This is an archived mail posted to the Subversion Users mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.