# HG changeset patch # User Matthew Wild # Date 1240453548 -3600 # Node ID 45fc590539cd856eb741b0500ac2a471d0a08401 # Parent 8c2d88cda1dd3d25075daacb4873644a20a7fd56 mod_bosh: Add log message for clients connecting to unknown host 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