Commit Graph

5 Commits

Author SHA1 Message Date
Luca Fulchir b49ede334f
Give the user a tracker for conn interactions
Signed-off-by: Luca Fulchir <luca.fulchir@runesauth.com>
2023-06-20 20:56:34 +02:00
Luca Fulchir 08025de8f5
Rename lots of stuff to properly use namespaces
Signed-off-by: Luca Fulchir <luca.fulchir@runesauth.com>
2023-06-19 20:25:31 +02:00
Luca Fulchir 866edc2d7d
TONS of bugfixing. Add tests. Client now connects
Signed-off-by: Luca Fulchir <luca.fulchir@runesauth.com>
2023-06-17 11:33:47 +02:00
Luca Fulchir b682068dca
Test and fix shutdowns
we have a Quick but partial shutdown, which lets the async "threads"
work in the background and shutdown after a bit more time

and the graceful/full shutdown, which waits for everything.

Unfortunately `Drop` can't manage async and blocks everything,
no way to yeld either, so if we only have a thread
we would deadlock if we tried to stop things gracefully

Signed-off-by: Luca Fulchir <luca.fulchir@runesauth.com>
2023-06-11 22:45:40 +02:00
Luca Fulchir aff1c313f5
Cleanup & incomplete tests
Signed-off-by: Luca Fulchir <luca.fulchir@runesauth.com>
2023-06-10 14:42:24 +02:00