Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Serf / libsvn_ra_serf doesn't work with Squid-fronted Apache
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Arfrever Frehtes Taifersar Arahesis  
View profile  
 More options Oct 12 2008, 7:24 pm
From: Arfrever Frehtes Taifersar Arahesis <arfrever....@gmail.com>
Date: Mon, 13 Oct 2008 01:24:02 +0200
Local: Sun, Oct 12 2008 7:24 pm
Subject: Serf / libsvn_ra_serf doesn't work with Squid-fronted Apache

Serf / libsvn_ra_serf doesn't work with Squid-fronted Apache:

$ svn ls http://overlaystest.gentoo.org/svn/proj/python
svn: XML parsing failed: (411 Length Required)
$

This problem was originally reported in:
https://bugs.gentoo.org/show_bug.cgi?id=241234

Robin Johnson <robb...@gentoo.org> wrote in that bug report:

> Doing a tcpdump on during the co request, and comparing the requests, the Neon
> version sends PROPFIND with Content-Length, while serf sends PROPFIND without
> Content-Length, which thus upsets squid.

--
Arfrever Frehtes Taifersar Arahesis

  signature.asc
< 1K Download

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Lieven Govaerts  
View profile  
 More options Oct 13 2008, 7:30 am
From: Lieven Govaerts <svn...@mobsol.be>
Date: Mon, 13 Oct 2008 13:30:24 +0200
Local: Mon, Oct 13 2008 7:30 am
Subject: Re: Serf / libsvn_ra_serf doesn't work with Squid-fronted Apache
Arfrever Frehtes Taifersar Arahesis wrote:

> Serf / libsvn_ra_serf doesn't work with Squid-fronted Apache:

> $ svn ls http://overlaystest.gentoo.org/svn/proj/python
> svn: XML parsing failed: (411 Length Required)
> $

> This problem was originally reported in:
> https://bugs.gentoo.org/show_bug.cgi?id=241234

> Robin Johnson <robb...@gentoo.org> wrote in that bug report:
>> Doing a tcpdump on during the co request, and comparing the requests, the Neon
>> version sends PROPFIND with Content-Length, while serf sends PROPFIND without
>> Content-Length, which thus upsets squid.

The cause of this problem is that serf uses chunked encoding, a HTTP/1.1
feature that Squid doesn't support:
http://wiki.squid-cache.org/Features/HTTP11?highlight=%28chunked%29

While adding HTTP/1.0 fallback in serf has been discussed, no one is
working on it.

There are two workarounds:
- use ra_neon instead of ra_serf.
- switch from squid to a HTTP/1.1 proxy, like apache+mod_proxy.

I've updated serf issue 28 at
http://code.google.com/p/serf/issues/detail?id=28 to keep track of this
issue.

Lieven


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »