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.
--- a/plugins/mod_bosh.lua Thu Jul 29 17:37:27 2021 +0200
+++ b/plugins/mod_bosh.lua Thu Jul 29 20:04:57 2021 +0200
@@ -323,6 +323,7 @@
-- 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