Mercurial > prosody-hg
comparison plugins/mod_websocket.lua @ 13751:7c98981d3fe9
Merge 13.0->trunk
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Sat, 22 Feb 2025 21:49:59 +0100 |
| parents | 08c2b7accd94 |
| children | 7c57fb2ffbb0 |
comparison
equal
deleted
inserted
replaced
| 13748:891869c51033 | 13751:7c98981d3fe9 |
|---|---|
| 365 ["GET"] = handle_request; | 365 ["GET"] = handle_request; |
| 366 ["GET /"] = handle_request; | 366 ["GET /"] = handle_request; |
| 367 }; | 367 }; |
| 368 }); | 368 }); |
| 369 | 369 |
| 370 module:depends("http_altconnect", true); | 370 if module.host ~= "*" then |
| 371 module:depends("http_altconnect", true); | |
| 372 end | |
| 371 | 373 |
| 372 module:hook("c2s-read-timeout", keepalive, -0.9); | 374 module:hook("c2s-read-timeout", keepalive, -0.9); |
| 373 end | 375 end |
| 374 | 376 |
| 375 if require"prosody.core.modulemanager".get_modules_for_host("*"):contains(module.name) then | 377 if require"prosody.core.modulemanager".get_modules_for_host("*"):contains(module.name) then |
