#Python

1 item tagged “Python

TILBackend3 min read

A Dead WebSocket in a Broadcast List Breaks the Whole Broadcast Loop

TIL that looping over every connected WebSocket client and sending a message throws on the first one that's already gone, which silently drops the update for everyone still connected after it in the list — the fix is a try/except per connection, not around the loop.

#WebSockets