From: Linus Torvalds Date: Fri, 18 May 2007 20:13:36 GMT Subject: Re: Smart fetch via HTTP? Message-ID: In-Reply-To: <20070518190159.GS24644@ca-server1.us.oracle.com> On Fri, 18 May 2007, Joel Becker wrote: > > It's not about packet scanning, it's about GET vs CONNECT. If > the proxy allows GET but not CONNECT, it's going to forward the HTTP > protocol to the server, and git-daemon is going to see "GET /project > HTTP/1.1" as its first input. Now, perhaps we can cook that up behind > some apache so that apache handles vhosting the URL, then calls > git-daemon which can take the stdin. So we'd be doing POST, not GET. If it's _just_ the initial GET/CONNECT strings, yeah, we could probably easily make the git-daemon just ignore them. That shouldn't be a problem. But if there's anything *else* required, it gets uglier much more quickly. Linus