Re: soTimeout not worked on channelNioSocket

2007-10-08 Thread William Leung
if(fill(len) < 0) { >>isClosed = true; >>} >>} >>} >> >> The socketTimeout parameter is not used to throw SocketTimeoutException, >> actually it has no meaning. >> &

Re: soTimeout not worked on channelNioSocket

2007-10-08 Thread Bill Barker
is not used to throw SocketTimeoutException, > actually it has no meaning. > > I even read the source for TC 6.0.13, the same as above. > > Should it be more precisely that throwing SocketTimeoutException on later > condiction test for (dataAvailable) is not true? > > In Chann

soTimeout not worked on channelNioSocket

2007-10-08 Thread William Leung
es blocking Socket.getInputStream, and it would throws SocketTimeoutException for socket timeout while Socket.setSoTimeout was called -- View this message in context: http://www.nabble.com/soTimeout-not-worked-on-channelNioSocket-tf4586318.html#a13091613 Sent from the Tomcat - U