[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: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Wed, 16 May 2012 21:58:20 +0300

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 mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.