# HG changeset patch # User Kim Alvefur # Date 1527670699 -7200 # Node ID 4a5ff09887a42a2af52c4a9cf75dcec45d678a5c # Parent dcd53a565c01231c0dd02bd7505e578c68252f87 mod_bosh: Store the normalized hostname on session (fixes #1151) diff -r dcd53a565c01 -r 4a5ff09887a4 plugins/mod_bosh.lua --- a/plugins/mod_bosh.lua Tue May 29 22:33:22 2018 +0200 +++ b/plugins/mod_bosh.lua Wed May 30 10:58:19 2018 +0200 @@ -281,7 +281,7 @@ -- New session sid = new_uuid(); local session = { - type = "c2s_unauthed", conn = request.conn, sid = sid, rid = rid, host = attr.to, + type = "c2s_unauthed", conn = request.conn, sid = sid, rid = rid, host = to_host, bosh_version = attr.ver, bosh_wait = wait, streamid = sid, bosh_max_inactive = bosh_max_inactivity, requests = { }, send_buffer = {}, reset_stream = bosh_reset_stream,