On Nix platforms, the TCP_KEEPIDLE and TCP_KEEPINTVL socket options are expressed in seconds.
TIdStackUnix.SetKeepAliveValues() and TIdStackLibc.SetKeepAliveValues() set the options in seconds, but then they call inherited, where TIdStack.SetKeepAliveValues() then resets the options in milliseconds, thus setting them too high.
On Nix platforms, the
TCP_KEEPIDLE
andTCP_KEEPINTVL
socket options are expressed in seconds.TIdStackUnix.SetKeepAliveValues()
andTIdStackLibc.SetKeepAliveValues()
set the options in seconds, but then they callinherited
, whereTIdStack.SetKeepAliveValues()
then resets the options in milliseconds, thus setting them too high.