# HG changeset patch # User Matthew Wild # Date 1739712779 0 # Node ID c3c4281c13392a39b5919b6e82578a2c7e5cf1af # Parent 4309c934e8132f79dde9f91d6f0bc30661dd601e mod_bosh, mod_websocket: Add soft dependency on mod_http_altconnect diff -r 4309c934e813 -r c3c4281c1339 plugins/mod_bosh.lua --- a/plugins/mod_bosh.lua Sun Feb 16 13:29:07 2025 +0000 +++ b/plugins/mod_bosh.lua Sun Feb 16 13:32:59 2025 +0000 @@ -557,6 +557,8 @@ ["POST /"] = handle_POST; }; }); + + module:depends("http_altconnect", true); end if require"prosody.core.modulemanager".get_modules_for_host("*"):contains(module.name) then diff -r 4309c934e813 -r c3c4281c1339 plugins/mod_websocket.lua --- a/plugins/mod_websocket.lua Sun Feb 16 13:29:07 2025 +0000 +++ b/plugins/mod_websocket.lua Sun Feb 16 13:32:59 2025 +0000 @@ -367,6 +367,8 @@ }; }); + module:depends("http_altconnect", true); + module:hook("c2s-read-timeout", keepalive, -0.9); end