Fixed intermittent connection attempt failure due to a bug in connect timeout handler code

This commit is contained in:
Trustin Lee 2009-08-23 08:09:42 +00:00
parent d842533135
commit 0628bde12f

View File

@ -357,12 +357,6 @@ class NioClientSocketPipelineSink extends AbstractChannelSink {
ConnectException cause = null;
for (SelectionKey k: keys) {
if (!k.isValid()) {
close(k);
continue;
}
if (k.isConnectable()) {
connect(k);
continue;
}