Get the maximum TCP timeout in sessiond
authorDavid Goulet <dgoulet@efficios.com>
Tue, 27 Aug 2013 19:11:40 +0000 (15:11 -0400)
committerDavid Goulet <dgoulet@efficios.com>
Tue, 27 Aug 2013 19:31:57 +0000 (15:31 -0400)
commitcb5f6f148a62583d11520d2b6502214386edd75e
treed1456de12ad46e58e960eeda76c4ce0c5c2e4287
parent47cb9d4ae03d03fe37467df4c3f0d807e81ff06c
Get the maximum TCP timeout in sessiond

This actually just open some /proc files when calling
lttcomm_init_inet() and computes the maximum value a TCP timeout for
every possible operations (send/recv/connect).

This is the first patch to fix the health check issue of having a
smaller delta than the TCP maximum possible timeout.

Signed-off-by: David Goulet <dgoulet@efficios.com>
src/bin/lttng-sessiond/main.c
src/common/defaults.h
src/common/sessiond-comm/inet.c
src/common/sessiond-comm/inet.h
This page took 0.043589 seconds and 4 git commands to generate.