sockjs/sockjs-protocol — Issue #29: Test suite: adding tests for discarding messages on #close in polling transport
Author: botanicus
Created: 2011-12-13 19:40:48+00:00
State: open

There's a significant difference between behaviour of primitive transports such as polling and more advanced transport such as websockets in case of closing connection in user app (see http://pastie.org/pastes/3011573). So whereas websocket tranport do deliver all the messages, primitive transports buffer messages and if user call #close, buffer won't be ever send, hence these messages shall not be delivered.

This behaviour should be tested.