Enable server heartbeats 96/92296/1
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 16:15:55 +0000 (18:15 +0200)
commit714823970d3fdd5b8f28bf40d0b5a54f701105b9
tree1607c9d4d0e886aa28926b1a95c9fe1bfa90a60b
parenta2eacd3d1eeeb01d51878d945075fbab66d9abd8
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>
(cherry picked from commit d512058bc228950fab6ede804c0b533588367dcf)
netconf/mdsal-netconf-ssh/src/main/java/org/opendaylight/netconf/ssh/SshProxyServer.java