Protect the websocket connections in the ircd #4

Open
opened 2020-05-14 11:50:29 +00:00 by epi · 0 comments
Member

Currently the IRCd spawns a lot of threads doing various things.
We need to make sure that the access to all the websocket connections is properly guarded.

  • Do we need to have a mutex for each ws-conn?
  • Wrap the low-level WS operations in ws-conn-closed? checks.
    Because a closed socket cannot get open again this should be sufficient.
Currently the IRCd spawns a lot of threads doing various things. We need to make sure that the access to all the websocket connections is properly guarded. - Do we need to have a mutex for each ws-conn? - Wrap the low-level WS operations in `ws-conn-closed?` checks. Because a closed socket cannot get open again this should be sufficient.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: IHBAGang/movie-night-chat#4
No description provided.