mirror of
https://github.com/simplex-chat/simplexmq.git
synced 2026-04-04 13:26:14 +00:00
* fix thread labelling points * add subscription thread labels * add explicit sections for sockets/sessions/disconnects * adjust label threads wrt. next blocking op * WIP: emit event on server finish So the event log wouldn't be cut short giving false impression of unterminated sessions. * add handshake timeout * hack server socket stats * trace closeTLS exceptions * fix build * clean up disconnectTransport * make disconnectTransport terminating Thus, participating in racyAny_ around it. * trach snd/rcv time separately, log clients as CSV * add direct client counting/stats * add csv dump for socket threads * guard socket threads dump from older GHC * cut socket thread listing into socket-threads command * store client creation time for stats * wrap tls setup in timeout and labels * server: expire clients without subscriptions * fix check for subscriptions * remove excess tracing * move hardcoded timeouts to configs * cleanup * fix tests * wrap direct queue waits in timeout * rewrite old TCP wrappers with their SocketState variants * add testInactiveWithSubs --------- Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com>