summaryrefslogtreecommitdiff
path: root/plugins/websocket
diff options
context:
space:
mode:
authorinfo@mode42.com <info@mode42.com>2026-08-09 05:27:00 +0000
committerinfo@mode42.com <info@mode42.com>2026-08-09 05:27:00 +0000
commit1cad8f1308e4af86027f9ae25523b8a8b3f6592c (patch)
tree7fa911b052986a69728343a09f8dde3d1c206c9b /plugins/websocket
parent20cb29c2f8c5c87bc590896854a20b1473ceb358 (diff)
Next development steps
Diffstat (limited to 'plugins/websocket')
-rw-r--r--plugins/websocket/websocket.c4
1 files changed, 4 insertions, 0 deletions
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;
}
git clone -b <branch> https://cgit.mode42.com/<repo>.git
git clone -b <branch> git://cgit.mode42.com/<repo>.git

info@mode42.com