mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
mod_bosh, mod_websocket: Add soft dependency on mod_http_altconnect
This commit is contained in:
parent
1bb0fa47bc
commit
573e9f2716
2 changed files with 4 additions and 0 deletions
|
@ -557,6 +557,8 @@ function module.add_host(module)
|
|||
["POST /"] = handle_POST;
|
||||
};
|
||||
});
|
||||
|
||||
module:depends("http_altconnect", true);
|
||||
end
|
||||
|
||||
if require"prosody.core.modulemanager".get_modules_for_host("*"):contains(module.name) then
|
||||
|
|
|
@ -367,6 +367,8 @@ function module.add_host(module)
|
|||
};
|
||||
});
|
||||
|
||||
module:depends("http_altconnect", true);
|
||||
|
||||
module:hook("c2s-read-timeout", keepalive, -0.9);
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue