Fix deadlock in AsyncSshHandlerWriter 44/21144/4
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:23 +0000 (15:52 +0000)
commitc448e270faf33afb6a04929a064ce9c9ce9556ed
tree0959ab97e587772a3a41fa20bb554a449ccfd51a
parentcd50f92c60580b546a696aab7c3ff4fbf3f9a5f0
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