On 23/02/2015 20:36, ma...@apache.org wrote:
> Author: markt
> Date: Mon Feb 23 20:36:29 2015
> New Revision: 1661770
> 
> URL: http://svn.apache.org/r1661770
> Log:
> Fix hanging WebSocket unit test on Windows.

For the record the problematic sequence was:
- Client sent message
- Client closed session (sent close to server)
- Server echoed message to client
- Client ignored this since the session was closed
- Server hangs waiting for client to read the message
- Client tried again to close the session

The new sequence is
- Client sends message
- Client closes session (sends close to server)
- Server echoes message to client
- Client processes message
- Server received close and processes it (returning close to client)
- Server closes connection
- Client processed returned close
- Client closes connection


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to