Skip to content

Commit

Permalink
Remove close(..) call which gave us troubles with
Browse files Browse the repository at this point in the history
ClosedChannelException. See #142 and #138
  • Loading branch information
normanmaurer committed Jan 11, 2012
1 parent e2109b2 commit 02be252
Showing 1 changed file with 8 additions and 1 deletion.
Expand Up @@ -370,7 +370,14 @@ private void processConnectTimeout(Set<SelectionKey> keys, long currentTimeNanos
ConnectException cause = null;
for (SelectionKey k: keys) {
if (!k.isValid()) {
close(k);
// Comment the close call again as it gave us major problems
// with ClosedChannelExceptions.
//
// See:
// * https://github.com/netty/netty/issues/142
// * https://github.com/netty/netty/issues/138
//
// close(k);
continue;
}

Expand Down

0 comments on commit 02be252

Please sign in to comment.