Skip to content

Commit

Permalink
null out closed channel to force reopen
Browse files Browse the repository at this point in the history
  • Loading branch information
jlavallee committed May 9, 2013
1 parent 960a6cd commit 13a1c1c
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ protected boolean initChannel() throws IOException {
if(channel != null && !channel.isOpen()){
log.warn("channel " + channel.getChannelNumber()
+ " closed unexpectedly: ", channel.getCloseReason());
channel = null; // so we re-open it below
}

if(channel == null) {
Expand Down

0 comments on commit 13a1c1c

Please sign in to comment.