Add workaround for SSH connection issue related to SSHD-1028 16/93116/1
authorTibor Král <tibor.kral@pantheon.tech>
Mon, 26 Oct 2020 03:03:02 +0000 (04:03 +0100)
committerRobert Varga <nite@hq.sk>
Mon, 26 Oct 2020 21:31:42 +0000 (21:31 +0000)
commit4e9c87babd30222032fb0ba3ea9eb999141a8fa3
tree8dbc2deb6bd58446c7836cd40fc52608278c06c5
parentafbc1e06f36172f790654d834ef55ac216bbfb40
Add workaround for SSH connection issue related to SSHD-1028

Provide custom version of Nio2Session which overrides the
bugged method.

JIRA: NETCONF-736
Change-Id: I0ef091680a9bdbe6bcab889335bb5ff48e91b703
Signed-off-by: Tibor Král <tibor.kral@pantheon.tech>
(cherry picked from commit 28925cdfe32f72ebcd034c9c7c9c107f176ca452)
netconf/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/handler/ssh/client/NetconfSshClient.java
netconf/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/handler/ssh/sshd1028/NetconfNio2Connector.java [new file with mode: 0644]
netconf/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/handler/ssh/sshd1028/NetconfNio2ServiceFactory.java [new file with mode: 0644]
netconf/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/handler/ssh/sshd1028/NetconfNio2ServiceFactoryFactory.java [new file with mode: 0644]
netconf/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/handler/ssh/sshd1028/NetconfNio2Session.java [new file with mode: 0644]