Re: [RFH] GSoC 2015 application
From: Duy Nguyen <hidden>
Date: 2016-06-15 23:03:58
On Wed, Mar 4, 2015 at 5:31 PM, Jeff King [off-list ref] wrote:
On Thu, Feb 26, 2015 at 08:10:38PM +0700, Duy Nguyen wrote:quoted
On Thu, Feb 19, 2015 at 2:14 AM, Jeff King [off-list ref] wrote:quoted
Where I really need help now is in the "ideas" page: http://git.github.io/SoC-2015-Ideas.htmlIs 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