mod_bosh: Add todo to use util.session to create session object
authorKim Alvefur <zash@zash.se>
Thu, 29 Jul 2021 20:04:57 +0200
changeset 11737 27699cc148df
parent 11736 5735f931f5c4
child 11738 c0fc4ca74046
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
--- 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