summaryrefslogtreecommitdiff
path: root/pretty.c
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2016-05-25 03:15:05 (GMT)
committerJunio C Hamano <gitster@pobox.com>2016-05-25 16:42:53 (GMT)
commita43b68a196652a0c6b054ee4905ac98d1cdcbbb9 (patch)
tree100922f19054e8bbce4fa8ab6b95c56de7874d33 /pretty.c
parent90f7b16b3adc78d4bbabbd426fb69aa78c714f71 (diff)
downloadgit-a43b68a196652a0c6b054ee4905ac98d1cdcbbb9.zip
git-a43b68a196652a0c6b054ee4905ac98d1cdcbbb9.tar.gz
git-a43b68a196652a0c6b054ee4905ac98d1cdcbbb9.tar.bz2
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 'pretty.c')
0 files changed, 0 insertions, 0 deletions