Enable server heartbeats 88/91788/5
authorRobert Varga <robert.varga@pantheon.tech>
Fri, 31 Jul 2020 08:38:30 +0000 (10:38 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Wed, 26 Aug 2020 15:27:12 +0000 (17:27 +0200)
commitd512058bc228950fab6ede804c0b533588367dcf
treeafba9f5b7766678ce90b2388279607a712b9c65a
parent84c3a3198ad33135dbc982dfb048ee5906d79ece
Enable server heartbeats

When we configure the server to have any timeout, make sure we give
initiate a heartbeat at least three times before timing out. Also, if
we do not specify the idle timer, we need to disable NIO2 read timeout.

JIRA: NETCONF-716
Change-Id: I2c6ed07b5d3b29f6524b0ed99067895c4dfdc020
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
netconf/mdsal-netconf-ssh/src/main/java/org/opendaylight/netconf/ssh/SshProxyServer.java