From 1cad8f1308e4af86027f9ae25523b8a8b3f6592c Mon Sep 17 00:00:00 2001 From: "info@mode42.com" Date: Sun, 9 Aug 2026 05:27:00 +0000 Subject: Next development steps --- plugins/websocket/websocket.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'plugins/websocket/websocket.c') diff --git a/plugins/websocket/websocket.c b/plugins/websocket/websocket.c index 4ff2230..f466c5f 100644 --- a/plugins/websocket/websocket.c +++ b/plugins/websocket/websocket.c @@ -470,6 +470,10 @@ static void *ws_client_thread(void *arg) cleanup: if (client->hbx_session != NULL) { + const char *uname = hybbx_session_username(client->hbx_session); + hybbx_log_info("[websocket] session end: user=%s last_rc=%d", + (uname && uname[0]) ? uname : "?", + (int)client->last_rc); hybbx_session_close(client->hbx_session); client->hbx_session = NULL; } -- cgit v1.3.1