comparison plugins/mod_bosh.lua @ 13720:c3c4281c1339 13.0

mod_bosh, mod_websocket: Add soft dependency on mod_http_altconnect
author Matthew Wild <mwild1@gmail.com>
date Sun, 16 Feb 2025 13:32:59 +0000
parents a688947fab1e
children 08c2b7accd94
comparison
equal deleted inserted replaced
13719:4309c934e813 13720:c3c4281c1339
555 ["GET /"] = GET_response; 555 ["GET /"] = GET_response;
556 ["POST"] = handle_POST; 556 ["POST"] = handle_POST;
557 ["POST /"] = handle_POST; 557 ["POST /"] = handle_POST;
558 }; 558 };
559 }); 559 });
560
561 module:depends("http_altconnect", true);
560 end 562 end
561 563
562 if require"prosody.core.modulemanager".get_modules_for_host("*"):contains(module.name) then 564 if require"prosody.core.modulemanager".get_modules_for_host("*"):contains(module.name) then
563 module:add_host(); 565 module:add_host();
564 end 566 end