summaryrefslogtreecommitdiff
path: root/compat/vcbuild/include
diff options
context:
space:
mode:
authorLibravatar Eric Wong <e@80x24.org>2016-05-25 03:15:05 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-05-25 09:42:53 -0700
commita43b68a196652a0c6b054ee4905ac98d1cdcbbb9 (patch)
tree100922f19054e8bbce4fa8ab6b95c56de7874d33 /compat/vcbuild/include
parentGit 2.8 (diff)
downloadtgif-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 'compat/vcbuild/include')
0 files changed, 0 insertions, 0 deletions