Add workaround for SSH connection issue related to SSHD-1028 17/93117/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:59 +0000 (21:31 +0000)
commit427145f1947aded67c713f04cbfb151d6972bd77
tree5e3569c77eb03002e21b349b4ab20de1b0ad6cb5
parent0ce9ec3dcc59f1cef3c896b8e2573f711aa25a39
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]