Joachim Bauch
|
825cab1de9
|
Add helper method to get parsed userdata from a session.
|
2024-08-29 15:26:13 +02:00 |
|
Joachim Bauch
|
4b76a49355
|
Don't use unnecessary pointer to "json.RawMessage".
The slice is a pointer already.
|
2024-05-16 20:58:42 +02:00 |
|
Joachim Bauch
|
0ee976d377
|
Add Context to clients / sessions.
The Context will be closed when the client disconnects / the session is removed,
so any pending requests can be cancelled.
|
2024-05-16 09:07:59 +02:00 |
|
Joachim Bauch
|
2468443572
|
Add "HandlerClient" interface to support custom implementations.
|
2024-04-23 11:03:30 +02:00 |
|
Joachim Bauch
|
2e6cf7f86b
|
Don't keep expiration timestamp in each session.
Reduces memory size per session and make hub lock usage consistent.
|
2024-04-22 15:07:48 +02:00 |
|
Joachim Bauch
|
734eaea85c
|
Hangup virtual session if it gets disinvited.
|
2023-12-07 14:38:01 +01:00 |
|
Joachim Bauch
|
43b5243463
|
Move common flags code to own struct.
|
2023-10-30 10:13:17 +01:00 |
|
Joachim Bauch
|
c134883138
|
Switch to atomic types from Go 1.19
|
2023-10-30 09:32:46 +01:00 |
|
Joachim Bauch
|
2f6e2ba87c
|
Allow internal clients to set / change the "inCall" flags.
|
2023-02-20 13:25:37 +01:00 |
|
Joachim Bauch
|
e101e74672
|
Fix sending messages to virtual sessions on different servers.
|
2022-07-12 11:54:41 +02:00 |
|
Joachim Bauch
|
8ea6072de5
|
Set userid / userdata when removing virtual session in backend.
|
2022-07-12 11:11:19 +02:00 |
|
Joachim Bauch
|
21f3f506d1
|
Send more responses through the session to handle disconnected / resuming clients.
|
2021-06-04 15:40:43 +02:00 |
|
Joachim Bauch
|
e8012d99d0
|
Remove log entries about changed flags.
|
2021-04-22 14:23:06 +02:00 |
|
Joachim Bauch
|
0dd2e8a086
|
Remove remaining virtual sessions if client session is closed.
Previously any virtual sessions that have not been explicitly closed were
not removed from the backend if the client session was closed / expired.
|
2021-04-21 14:05:45 +02:00 |
|
Joachim Bauch
|
8ba2e0ad64
|
Switch dependency tracking to Go modules.
With that bump minimum required version to Go 1.13.
|
2021-04-09 16:15:00 +02:00 |
|