diff options
author | Shehjar Tikoo <shehjart@gluster.com> | 2010-05-18 02:20:17 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2010-05-21 00:32:27 -0700 |
commit | c0763ba1579fbad705cd29e256fb083376fb0e07 (patch) | |
tree | 3f14f1096ca2c59be356967466907360475395b6 /xlators | |
parent | 608223c792fc308729b522777efad4c6afb8238c (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')
0 files changed, 0 insertions, 0 deletions