SEAPUNK / socketeer

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

ServerClient: close() and terminate() should destroy the session #45

Closed SEAPUNK closed 8 years ago

SEAPUNK commented 8 years ago

I just realized that if the server closes the client connection, if the server supports session resuming, that will only pause the connection. We need to close the connection instead, and destroy the session so they can't use it.