Fix deadlock in AsyncSshHandlerWriter
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)
commit10dd203a1ce518ea469949107a7cc1dbe2c2226c
tree91f0a8db22c104c5efc2527d17f9d092300b240f
parent4ca248a3bb4e6fecad2bc89998a4ae87d2cdf333
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