equal
deleted
inserted
replaced
291 response:send(tostring(close_reply)); |
291 response:send(tostring(close_reply)); |
292 return; |
292 return; |
293 end |
293 end |
294 |
294 |
295 if not prosody.hosts[to_host] then |
295 if not prosody.hosts[to_host] then |
296 log("debug", "BOSH client tried to connect to non-existant host: %s", attr.to); |
296 log("debug", "BOSH client tried to connect to non-existent host: %s", attr.to); |
297 report_bad_host(); |
297 report_bad_host(); |
298 local close_reply = st.stanza("body", { xmlns = xmlns_bosh, type = "terminate", |
298 local close_reply = st.stanza("body", { xmlns = xmlns_bosh, type = "terminate", |
299 ["xmlns:stream"] = xmlns_streams, condition = "improper-addressing" }); |
299 ["xmlns:stream"] = xmlns_streams, condition = "improper-addressing" }); |
300 response:send(tostring(close_reply)); |
300 response:send(tostring(close_reply)); |
301 return; |
301 return; |