Diff

plugins/mod_bosh.lua @ 11733:27699cc148df

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.
author Kim Alvefur <zash@zash.se>
date Thu, 29 Jul 2021 20:04:57 +0200
parent 11727:f3aee8a825cc
child 11771:4c0802b52673
line wrap: on
line diff
--- 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