[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Trunk checkout fails with serf but not neon

From: Philip Martin <philip_at_codematters.co.uk>
Date: Wed, 16 May 2012 20:05:58 +0100

Philip Martin <philip.martin_at_wandisco.com> writes:

> Mark Phippard <markphip_at_gmail.com> writes:
>> Greg is working on. I will try Philip's suggestion but assume I need
>> to read up on what he suggested so that I understand what I need to
>> do.
> Something like this:
> $ socat -v TCP4-LISTEN:8080,reuseaddr,fork TCP4:svn.apache.org:http
> then in another window something like this:
> $ svn ls http://localhost:8080/repos/asf/subversion
> but it doesn't work quite as well as I expected. I've only previously
> used socat to capture traffic between programs on the same machine. The
> problem is that using socat as a proxy causes the Host: header sent to
> svn.apache.org to "" instead of "svn.apache.org".

Setting servers:global:http-proxy-host and -port to and 8080
and then running

$ svn ls http://svn.apache.org/repos/asf/subversion

allows socat to capture the traffic.

Received on 2012-05-16 21:06:36 CEST

This is an archived mail posted to the Subversion Dev mailing list.