Re: Trunk checkout fails with serf but not neon
Philip Martin wrote on Wed, May 16, 2012 at 19:55:41 +0100:
> 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 "127.0.0.1:8080" instead of "svn.apache.org".
So add '127.0.0.1 svn.apache.org' to /etc/hosts?
(and in case someone finds it useful:
curl -H "Host: svn.apache.org" http://localhost/repos/asf/subversion/README)
Received on 2012-05-16 20:58:58 CEST
This is an archived mail posted to the Subversion Dev