hoaproject / Websocket

The Hoa\Websocket library.
https://hoa-project.net/
422 stars 75 forks source link

Server: Fix throws exceptions while broadcasting messages. #60

Closed Metalaka closed 8 years ago

Metalaka commented 8 years ago

While broadcasting a message to some nodes an error can occur because the node connection is closed but isn't yet removed from the to send list. Here we will catch these exceptions to allow the server to continue working.

Fix https://github.com/hoaproject/Socket/pull/32 (Websocket side) Must be merged after https://github.com/hoaproject/Socket/pull/36