Fix deadlock in AsyncSshHandlerWriter 02/21102/5
authorTomas Cere <tcere@cisco.com>
Mon, 25 May 2015 13:07:19 +0000 (15:07 +0200)
committerGerrit Code Review <gerrit@opendaylight.org>
Thu, 28 May 2015 15:52:01 +0000 (15:52 +0000)
commitc1aaf2ff3e1dedac33bb662dfb7c8534c1aad033
tree1126c8e4990bafc8108f9ddc9e7186e3374046e7
parent1e15cd54715a29f17adb847664500a16470cd6a5
Fix deadlock in AsyncSshHandlerWriter

Ssh window resize would call write twice, while a write pending was in progress
causing a deadlock because the underlying channelSession was already locked.

Change-Id: I3a1498084327f12b2010744e570644259532b975
Signed-off-by: Tomas Cere <tcere@cisco.com>
opendaylight/netconf/netconf-netty-util/src/main/java/org/opendaylight/controller/netconf/nettyutil/handler/ssh/client/AsyncSshHandlerWriter.java