Setting non-blocking mode after connecting in blocking mode.

git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@3049 7e9141cc-0065-0410-87d8-b60c137991c4
This commit is contained in:
Simone Bordet 2011-04-30 15:00:00 +00:00
parent 918193c61a
commit f8cb795a4f
1 changed files with 1 additions and 1 deletions

View File

@ -104,8 +104,8 @@ class SelectConnector extends AbstractLifeCycle implements HttpClient.Connector,
}
else
{
channel.configureBlocking(false);
channel.socket().connect(address.toSocketAddress(), _httpClient.getConnectTimeout());
channel.configureBlocking(false);
_selectorManager.register( channel, destination );
}