basic test channels again
fixed some typos
made all hub.Session not explode if multiple sockets connect to it: one input channel stays for the entire session lifetime. the ws is only stored in the connection context (Session#Handle), as is the closing channel. added an atomic counter that stops the server from throwing out sessions just because ONE of the connections disconnected. added a log message for when the server fails to listen. NOTE: there is still no SUPPORT for multiple sockets to the same session, just a sort of graceful error state (the connections will likely share the messages among themselves).
made all hub.Session not explode if multiple sockets connect to it: one input channel stays for the entire session lifetime. the ws is only stored in the connection context (Session#Handle), as is the closing channel. added an atomic counter that stops the server from throwing out sessions just because ONE of the connections disconnected. added a log message for when the server fails to listen. NOTE: there is still no SUPPORT for multiple sockets to the same session, just a sort of graceful error state (the connections will likely share the messages among themselves).
merge