diff options
author | Eric Wong <e@80x24.org> | 2016-05-25 03:15:05 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-05-25 09:42:53 -0700 |
commit | a43b68a196652a0c6b054ee4905ac98d1cdcbbb9 (patch) | |
tree | 100922f19054e8bbce4fa8ab6b95c56de7874d33 /line-range.c | |
parent | Git 2.8 (diff) | |
download | tgif-a43b68a196652a0c6b054ee4905ac98d1cdcbbb9.tar.xz |
daemon: enable SO_KEEPALIVE for all sockets
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>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'line-range.c')
0 files changed, 0 insertions, 0 deletions