From c315a8520126c29bcd2120550123e50cb2802c27 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Thu, 29 Jul 2021 20:04:57 +0200 Subject: mod_bosh: Add todo to use util.session to create session object So that we get single point where shared session properties can be added. But not now. One day. Maybe. Patches welcome. --- plugins/mod_bosh.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'plugins') diff --git a/plugins/mod_bosh.lua b/plugins/mod_bosh.lua index 7e710760..c337c03c 100644 --- a/plugins/mod_bosh.lua +++ b/plugins/mod_bosh.lua @@ -323,6 +323,7 @@ function stream_callbacks.streamopened(context, attr) -- New session sid = new_uuid(); + -- TODO use util.sesssion local session = { type = "c2s_unauthed", conn = request.conn, sid = sid, host = attr.to, rid = rid - 1, -- Hack for initial session setup, "previous" rid was $current_request - 1 -- cgit v1.2.3