> On 25/02/2011 20:16, Filip Hanik - Dev Lists wrote: >> The simplest solution is, would be to use an individual selector. >> Register the socket and issue a select() on the thread you are running on. >> If you want to use a shared selector (like NIO does for reads and >> writes) it requires a bit more logic.
I have implemented the simple solution and based on a quick test with the Eclipse debugger the handshake now blocks while waiting for client data. A review would be good since my understanding of NIO is not as good as yours. Mark --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org