SocketChannel is interruptible so any pending read()/write() operation can be interrupted by Thread.interrupt()[1] unlike SocketInputStream.read/SocketOutputStream.write[2][3]
[1]http://www.java2s.com/Code/Java/Network-Protocol/Thisprogramshowshowtointerruptasocketchannel.htm [2]http://bugs.java.com/view_bug.do?bug_id=4905626 [3]http://bugs.java.com/view_bug.do?bug_id=4514257 -- View this message in context: http://httpcomponents.10934.n7.nabble.com/HttpClient-write-timeout-tp26011p26020.html Sent from the HttpClient-User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: httpclient-users-unsubscr...@hc.apache.org For additional commands, e-mail: httpclient-users-h...@hc.apache.org