summaryrefslogtreecommitdiffstats
path: root/xlators/debug
diff options
context:
space:
mode:
authorShehjar Tikoo <shehjart@gluster.com>2010-05-18 01:38:17 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-05-21 00:32:08 -0700
commit174f26f113a7a361a9aa5c959310fcc3867e0dc6 (patch)
tree70d47fedc4285d943e1acee74c4cfc724514e00a /xlators/debug
parentc705b679fbe41aa9ac4486ebf46d3b2ae95d1628 (diff)
socket: Support TCP-KEEPALIVE
Introduces two new socket options: 1. transport.socket.keepalive: bool Sets keepalive on a transport. On by default. 2. transport.socket.keepalive-interval: integer Number of seconds between each keepalive message on the socket. Default in linux is 2 hours. To change that value for a given transport, use this option. Integer value is interval in seconds. Signed-off-by: Shehjar Tikoo <shehjart@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 754 (enable tcp keepalive) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=754
Diffstat (limited to 'xlators/debug')
0 files changed, 0 insertions, 0 deletions