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

Re: [PATCH] daemon: enable SO_KEEPALIVE for all sockets

From
Junio C Hamano <gitster@pobox.com>
Date
May 25, 2016, 22:44 UTC
Message-ID
<xmqq37p5zrjk.fsf@gitster.mtv.corp.google.com>
In-Reply-To
<20160525031505.5720-1-e@80x24.org>
Eric Wong <e@80x24.org> writes:
Show 8 quoted lines
> While --init-timeout and --timeout options exist and I've never
> run git-daemon without them, some users may forget to set them
> and encounter hung daemon processes when connections fail.
> Enable socket-level timeouts so the kernel can send keepalive
> probes as necessary to detect failed connections.
>
> Signed-off-by: Eric Wong <e@80x24.org>
> ---

This makes sense as a follow-up to e47a8583 (enable SO_KEEPALIVE for connected TCP sockets, 2011-12-06), I think.

Previous: Jeff KingNext: Eric Wong
Message 3 of 4 in “daemon: enable SO_KEEPALIVE for all sockets”
  1. daemon: enable SO_KEEPALIVE for all socketsEric Wong, May 25, 2016
  2. Jeff KingMay 25, 2016
  3. Junio C HamanoMay 25, 2016
  4. Eric WongMay 25, 2016

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.