Add workaround for SSH connection issue related to SSHD-1028 15/93115/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:29 +0000 (21:31 +0000)
commit953592d62ab6a18617fa9827f991b85da9df243c
treeae466e68d054937654aa5947b619dda5c65fc561
parent31f1175d161518e5170ed9297fa337d5174f005a
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]