projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1714a5c
)
mod_bosh: Update to use new httpserver.new_from_config syntax
author
Matthew Wild
<mwild1@gmail.com>
Fri, 2 Oct 2009 23:56:45 +0000
(
00:56
+0100)
committer
Matthew Wild
<mwild1@gmail.com>
Fri, 2 Oct 2009 23:56:45 +0000
(
00:56
+0100)
plugins/mod_bosh.lua
patch
|
blob
|
history
diff --git
a/plugins/mod_bosh.lua
b/plugins/mod_bosh.lua
index 0dd4a192bfb266ead22fb21f10eab60a24b0270e..fddd5c111090108f3506e1e83b6814b11a7d7fac 100644
(file)
--- a/
plugins/mod_bosh.lua
+++ b/
plugins/mod_bosh.lua
@@
-298,6
+298,6
@@
function on_timer()
end
local ports = module:get_option("bosh_ports") or { 5280 };
-httpserver.new_from_config(ports,
"http-bind", handle_request
);
+httpserver.new_from_config(ports,
handle_request, { base = "http-bind" }
);
server.addtimer(on_timer);