chiark / gitweb /
socket: Add Support for TCP keep alive variables
authorSusant Sahani <susant@redhat.com>
Thu, 14 Aug 2014 17:36:11 +0000 (23:06 +0530)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 14 Aug 2014 23:48:57 +0000 (19:48 -0400)
commit209e9dcd7b2f23b68ff93bf20fad025bc03219ac
treeceff338a43dc61ee102275f891e36d334d27a0ea
parent1dbe0a6efda7b1d35957eab7e1d56a2c69d806d9
socket: Add Support for TCP keep alive variables

The tcp keep alive variables now can be configured via conf
parameter. Follwing variables are now supported by this patch.

tcp_keepalive_intvl: The number of seconds between TCP keep-alive probes

tcp_keepalive_probes: The maximum number of TCP keep-alive probes to
send before giving up and killing the connection if no response is
obtained from the other end.

tcp_keepalive_time: The number of seconds a connection needs to be
idle before TCP begins sending out keep-alive probes.
man/systemd.socket.xml
src/core/dbus-socket.c
src/core/load-fragment-gperf.gperf.m4
src/core/socket.c
src/core/socket.h