From: Duy Nguyen Date: Wed, 04 Mar 2015 11:21:20 GMT Subject: Re: [RFH] GSoC 2015 application Message-ID: In-Reply-To: <20150304103119.GA19234@peff.net> On Wed, Mar 4, 2015 at 5:31 PM, Jeff King wrote: > On Thu, Feb 26, 2015 at 08:10:38PM +0700, Duy Nguyen wrote: > >> On Thu, Feb 19, 2015 at 2:14 AM, Jeff King wrote: >> > Where I really need help now is in the "ideas" page: >> > >> > http://git.github.io/SoC-2015-Ideas.html >> >> Is this too ambitious for a summer? I suspect the answer is yes, but anyway.. >> >> Due to http limitations and stateless decision, a lot of data is sent >> back and forth during have/want negotiation for smart-http. I wonder >> if we could implement the "long polling" scheme in a CGI program. The >> program terminates HTTP requests and recreates a full duplex >> connection for upload-pack to talk to the client. upload-pack falls >> back to the normal mode, used by git:// and ssh://. > > So basically Git-over-TCP-over-HTTP? :) Yes. The hidden agenda was, if it works well, we might be able to deprecate smart-http one day. That day, if happens, would be in far future though. By that time hopefully we could just use http2 insteadof tcp-over-http1. > I'm not sure it is too ambitious in terms of actual implementation time, > but I think the design work may exceed what most students are capable > of. Not to mention that I think it can be man-in-the-middle attacked if we're not careful (e.g. send to session token in unencrypted). Which makes it less appealing to me. -- Duy