BUG-1949 Fix race condition in AsyncSshHandler 29/11329/3
authorMaros Marsalek <mmarsale@cisco.com>
Thu, 18 Sep 2014 15:58:48 +0000 (17:58 +0200)
committerMaros Marsalek <mmarsale@cisco.com>
Fri, 19 Sep 2014 15:11:47 +0000 (17:11 +0200)
commit9a510c105432cb904cdbcdc63dc38e37a2a70e81
treeea6ffaf92328ef5b1ef494e8c50055d3f6e49272
parent34bc6ec632529a0dfe419aa7404bb42a456fbc96
BUG-1949 Fix race condition in AsyncSshHandler

Remove pending limit due to unexpected behaviour with chunked messages.
Extract Reader/Writer into separate classes.

Also lower the amount of requests sent in SSH Stress integration test.

Change-Id: Idff719ac3a6bed9e8939efa01b8306f2884848fe
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
opendaylight/netconf/netconf-it/src/test/java/org/opendaylight/controller/netconf/it/NetconfITSecureTest.java
opendaylight/netconf/netconf-netty-util/src/main/java/org/opendaylight/controller/netconf/nettyutil/handler/ssh/client/AsyncSshHanderReader.java [new file with mode: 0644]
opendaylight/netconf/netconf-netty-util/src/main/java/org/opendaylight/controller/netconf/nettyutil/handler/ssh/client/AsyncSshHandler.java
opendaylight/netconf/netconf-netty-util/src/main/java/org/opendaylight/controller/netconf/nettyutil/handler/ssh/client/AsyncSshHandlerWriter.java [new file with mode: 0644]
opendaylight/netconf/netconf-netty-util/src/test/java/org/opendaylight/controller/netconf/nettyutil/handler/ssh/client/AsyncSshHandlerTest.java