From: Matthias Urlichs Date: Wed, 05 Oct 2005 12:50:55 GMT Subject: Re: cvsimport using proxy? Message-ID: <20051005125055.GF4682@kiste.smurf.noris.de> In-Reply-To: <46a038f90510050309t1d075d7fj37c60a6052ec62f3@mail.gmail.com> Hi, Martin Langhoff: > For the second stage, we'll need to hack CVSConn::conn() method around > line 118. As I have never used the proxy option, I did a bit of > googling. It seems that cvs 1.12.11 knows how to tunnel its protocol > over an HTTP proxy. > HTTP proxies are quite simple, you say 1. Connect to Proxy Server. 2. Issue CONNECT Host:Port HTTP/1.1. 3. Issue . 4. Wait for a line of response. If it contains HTTP/1.X 200 , the connection is successful. 5. Read further lines of response until you receive an empty line. 6. Now, you are connected to outside world through a proxy. Do any data exchange you want. -- Matthias Urlichs | {M:U} IT Design @ m-u-it.de | smurf@smurf.noris.de Disclaimer: The quote was selected randomly. Really. | http://smurf.noris.de - - Almost all absurdity of conduct arises from the imitation of those who we cannot resemble. -- Samuel Johnson