git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH v2] Add persistent-https to contrib

From
Junio C Hamano <gitster@pobox.com>
Date
May 29, 2012, 23:34 UTC
Message-ID
<7vobp61s0b.fsf@alter.siamese.dyndns.org>
In-Reply-To
<1338328320-5653-1-git-send-email-cranger@google.com>
Colby Ranger <cranger@google.com> writes:
Show 18 quoted lines
> Git over HTTPS has a high request startup latency, since the SSL
> negotiation can take up to a second. In order to reduce this latency,
> connections should be left open to the Git server across requests
> (or invocations of the git commandline).
>
> Reduce SSL startup latency by running a daemon job that keeps
> connections open to a Git server. The daemon job
> (git-remote-persistent-https--proxy) is started on the first request
> through the client binary (git-remote-persistent-https) and remains
> running for 24 hours after the last request, or until a new daemon
> binary is placed in the PATH. The client determines the daemon's
> HTTP address by communicating over a UNIX socket with the daemon.
> From there, the rest of the Git protocol work is delegated to the
> "git-remote-http" binary, with the environment's http_proxy set to
> the daemon.
>
> Signed-off-by: Colby Ranger <cranger@google.com>
> ---

Thanks. I'll add a few paragraphs taken from Shawn's message in this thread before queuing, but it'll take some time until I get to this patch (I am looking at a totally unrelated topic that brought an unpleasant regression to cherry-pick).

Previous: Colby Ranger
Message 12 of 12 in “Add persistent-https to contrib”
  1. Add persistent-https to contribColby Ranger, May 23, 2012
  2. Junio C HamanoMay 24, 2012
  3. Shawn PearceMay 24, 2012
  4. Jeff KingMay 24, 2012
  5. Shawn PearceMay 24, 2012
  6. Shawn PearceMay 24, 2012
  7. Jeff KingMay 24, 2012
  8. Daniel StenbergMay 24, 2012
  9. Junio C HamanoMay 24, 2012
  10. Colby RangerMay 29, 2012
  11. Add persistent-https to contribColby Ranger, May 29, 2012
  12. Junio C HamanoMay 29, 2012

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.