> -----Original Message-----
> From: Bartosz Fabianowski [mailto:free...@chillt.de] 
> Sent: 23 June 2013 20:21
> To: users@subversion.apache.org
> Subject: ra_serf PROPFIND refused by Nginx
> 
> Hi list,
> 
> I recently switched from svn 1.7 to 1.8 and with it, from 
> neon to serf.
> I am now getting the following error for many repositories:
> 
> % svn co http://svn.mkgmap.org.uk/mkgmap/trunk
> svn: E175004: The PROPFIND response did not include the 
> requested properties
> 
> Wireshark tells me that this is because the PROPFIND request 
> was refused
> by the server with HTTP error 411, length required. Even though the
> server claims to support HTTP 1.1, chunked transfer encoding does not
> appear to work. The server identifies itself as Nginx, which 
> leads me to
> believe that I am dealing with a reverse proxy.
> 
> I worked around the issue by modifying 
> subversion/libsvn_ra_serf/util.c
> to force HTTP 1.0:
> 
> -      /* HTTP/1.1? (or later)  */
> -      if (sl.version != SERF_HTTP_10)
> -        handler->session->http10 = FALSE;
> 
> Clearly, always forcing HTTP 1.0 is not the right solution. But maybe
> svn should automatically switch to HTTP 1.0 when it receives a 411
> response to a chunked request, telling it that the server (or a proxy)
> does not support chunked transfers?
> 
> - Bartosz

FYI there was some discussion about this issue with nginx last week, this 
thread (amonsgt others) for example:

http://svn.haxx.se/users/archive-2013-06/0180.shtml

~ mark c

Reply via email to