Software / code / prosody
Comparison
util/prosodyctl/check.lua @ 11801:ab0dfe9cbe69
util.prosodyctl.check: Suggest replacing 'use_libevent' with 'network_backend'
It's basically deprecated
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Tue, 14 Sep 2021 14:19:05 +0200 |
| parent | 11800:60018637f5d4 |
| child | 11807:f5295e59ca78 |
comparison
equal
deleted
inserted
replaced
| 11800:60018637f5d4 | 11801:ab0dfe9cbe69 |
|---|---|
| 100 daemonize = "use the --daemonize/-D or --foreground/-F command line flags", | 100 daemonize = "use the --daemonize/-D or --foreground/-F command line flags", |
| 101 disallow_s2s = "add \"s2s\" to 'modules_disabled'", | 101 disallow_s2s = "add \"s2s\" to 'modules_disabled'", |
| 102 no_daemonize = "use the --daemonize/-D or --foreground/-F flags", | 102 no_daemonize = "use the --daemonize/-D or --foreground/-F flags", |
| 103 require_encryption = "use 'c2s_require_encryption' and 's2s_require_encryption'", | 103 require_encryption = "use 'c2s_require_encryption' and 's2s_require_encryption'", |
| 104 vcard_compatibility = "use 'mod_compat_vcard' from prosody-modules", | 104 vcard_compatibility = "use 'mod_compat_vcard' from prosody-modules", |
| 105 use_libevent = "use 'network_backend = \"event\"'", | |
| 105 }; | 106 }; |
| 106 -- FIXME all the singular _port and _interface options are supposed to be deprecated too | 107 -- FIXME all the singular _port and _interface options are supposed to be deprecated too |
| 107 local deprecated_ports = { bosh = "http", legacy_ssl = "c2s_direct_tls" }; | 108 local deprecated_ports = { bosh = "http", legacy_ssl = "c2s_direct_tls" }; |
| 108 local port_suffixes = set.new({ "port", "ports", "interface", "interfaces", "ssl" }); | 109 local port_suffixes = set.new({ "port", "ports", "interface", "interfaces", "ssl" }); |
| 109 for port, replacement in pairs(deprecated_ports) do | 110 for port, replacement in pairs(deprecated_ports) do |
| 173 "trusted_proxies", | 174 "trusted_proxies", |
| 174 "umask", | 175 "umask", |
| 175 "use_dane", | 176 "use_dane", |
| 176 "use_ipv4", | 177 "use_ipv4", |
| 177 "use_ipv6", | 178 "use_ipv6", |
| 178 "use_libevent", | |
| 179 "websocket_frame_buffer_limit", | 179 "websocket_frame_buffer_limit", |
| 180 "websocket_frame_fragment_limit", | 180 "websocket_frame_fragment_limit", |
| 181 "websocket_get_response_body", | 181 "websocket_get_response_body", |
| 182 "websocket_get_response_text", | 182 "websocket_get_response_text", |
| 183 }); | 183 }); |