10 Commits
Author SHA1 Message Date
Jannis Mattheis b6094d54f2 fix: prevent deadlock by timeouting blocking writes 2024-12-07 12:15:44 +01:00
Jannis Mattheis a0f3c37498 fix: race condition
In client.go

    if room, ok := message.(outgoing.Room); ok {
            c.info.RoomID = room.ID
    }

this part isn't thread safe. It could happen that user disconnected but
wasn't removed from a room, because the disconnecting go routine
couldn't see the roomID yet.
2024-10-11 15:11:07 +02:00
Jannis Mattheis da3f5b1692 fix: goroutine leak 2024-09-27 16:20:15 +02:00
Jannis Mattheis 0abd53ec94 Fix linting 2023-03-17 09:59:23 +01:00
Jannis Mattheis 58c5061eab Add create on join 2022-02-13 18:42:18 +01:00
Florian Brandt 979a7be292 Fix typo 2021-03-11 17:46:23 +00:00
Thomas von Rosenberg 3f2b2b135c Use counters instead of gauges 2020-10-15 16:41:01 +00:00
Broder Peters afeb72f66a Rename sharing to streaming 2020-10-11 09:09:22 +00:00
Jannis Mattheis 4c849059ba Use logged in username as username in room 2020-10-09 13:46:37 +00:00
Jannis Mattheis 81743cbb4d Add websocket handler 2020-10-04 20:10:38 +02:00