diff -r 8c2d88cda1dd -r 45fc590539cd plugins/mod_bosh.lua --- a/plugins/mod_bosh.lua Thu Apr 23 03:25:11 2009 +0100 +++ b/plugins/mod_bosh.lua Thu Apr 23 03:25:48 2009 +0100 @@ -125,6 +125,7 @@ -- TODO: Sanity checks here (rid, to, known host, etc.) if not hosts[attr.to] then -- Unknown host + log("debug", "BOSH client tried to connect to unknown host: %s", tostring(attr.to)); session_close_reply.attr.condition = "host-unknown"; request:send{ headers = default_headers, body = tostring(session_close_reply) }; request.notopen = nil