JAVA-1265Backlog

AsynchronousSocketChannel connect and socket timeout

AsynchronousSocketChannel connect essentially is blocking and you can't apply the socket timeout setting. You can: a) get a future from connect and then call {{get(timeout, unit)}} with the timeout the result to honour the socket timeout but that is blocking. b) pass a completion handler to connect which blocks whilst it connects and doesn't take a timeout - this is currently used. See: http://stackoverflow.com/questions/20752756/how-to-set-java-nio-asynchronoussocketchannel-connect-timeout

Affected Versions
Versions known to exhibit this issue
3.0.0
Fixed Versions
Versions that include the fix

No fix available yet.

Components
Server components related to this issue
Async
Labels
Tags and classification
close?