summaryrefslogtreecommitdiff
path: root/lib/debug.c
diff options
context:
space:
mode:
authorXiaofeng Liu <xiaofeng.liu@6wind.com>2017-12-05 10:25:16 +0100
committerPhilippe Guibert <philippe.guibert@6wind.com>2022-07-28 16:42:01 +0200
commit5c480b5db3d14f37682eee1a6ae431b88ead0f9e (patch)
treef858b0c3d60a17cbb65ff9af4e98493c9ca534c3 /lib/debug.c
parent9982282d41466f6be1422a7610774fb0421ba8da (diff)
lib: add a function to configure tcp keepalive parameters
New function setsockopt_tcp_keepalive() is added to enable TCP keepalive mechanism for specified socket. Also TCP keepalive idle time, interval and maximum probes are configured. Signed-off-by: Xiaofeng Liu <xiaofeng.liu@6wind.com> Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Diffstat (limited to 'lib/debug.c')
0 files changed, 0 insertions, 0 deletions