SEAPUNK / socketeer

yet another websocket framework
MIT License
3 stars 0 forks source link

Should we continue ignoring messages from a closed connection? #37

Closed SEAPUNK closed 8 years ago

SEAPUNK commented 8 years ago

Because send() no longer sends messages when the connection is closed, but queues them, it's probably a good idea to allow the processing of messages that are not "special" messages (heartbeats, handshakes, etc).

This also helps in ensuring that few messages are actually lost when the connection is lost.

SEAPUNK commented 8 years ago

I'm leaning towards 'no'.

SEAPUNK commented 8 years ago