Merge "Bug 5475 - File descriptor leak on netconf connector reconnects" into stable...
authorTomas Cere <tcere@cisco.com>
Tue, 29 Mar 2016 12:54:56 +0000 (12:54 +0000)
committerGerrit Code Review <gerrit@opendaylight.org>
Tue, 29 Mar 2016 12:54:56 +0000 (12:54 +0000)
opendaylight/netconf/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/handler/ssh/client/AsyncSshHandler.java

index ca654c6fdb6c6796a4c663564fdadbdd409d62ca..1798934957adc5b74ccbc3edb7491ca302479b2c 100644 (file)
@@ -81,8 +81,6 @@ public class AsyncSshHandler extends ChannelOutboundHandlerAdapter {
     public AsyncSshHandler(final AuthenticationHandler authenticationHandler, final SshClient sshClient) throws IOException {
         this.authenticationHandler = Preconditions.checkNotNull(authenticationHandler);
         this.sshClient = Preconditions.checkNotNull(sshClient);
-        // Start just in case
-        sshClient.start();
     }
 
     public static AsyncSshHandler createForNetconfSubsystem(final AuthenticationHandler authenticationHandler) throws IOException {