Software /
code /
prosody
Changeset
11778:f254fd16218a
mod_c2s: Rename Direct TLS listener 'c2s_direct_tls' for clarity
And to follow existing naming practices better than 'legacy_ssl' did.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 09 Sep 2021 22:14:43 +0200 |
parents | 11777:08de090e05e9 |
children | 11779:f4f0bdaeabd2 |
files | doc/doap.xml plugins/mod_c2s.lua util/prosodyctl/check.lua |
diffstat | 3 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/doc/doap.xml Thu Sep 09 22:10:12 2021 +0200 +++ b/doc/doap.xml Thu Sep 09 22:14:43 2021 +0200 @@ -641,7 +641,7 @@ <xmpp:version>1.1.0</xmpp:version> <xmpp:status>partial</xmpp:status> <xmpp:since>0.2.0</xmpp:since> - <xmpp:note>direct_tls_ports (formerly legacy_ssl_ports) for c2s and direct_tls_s2s_ports for s2s</xmpp:note> + <xmpp:note>c2s_direct_tls_ports (formerly legacy_ssl_ports) for c2s and direct_tls_s2s_ports for s2s</xmpp:note> </xmpp:SupportedXep> </implements> <implements>
--- a/plugins/mod_c2s.lua Thu Sep 09 22:10:12 2021 +0200 +++ b/plugins/mod_c2s.lua Thu Sep 09 22:14:43 2021 +0200 @@ -442,7 +442,7 @@ }); module:provides("net", { - name = "direct_tls"; + name = "c2s_direct_tls"; listener = listener; encryption = "ssl"; multiplex = {
--- a/util/prosodyctl/check.lua Thu Sep 09 22:10:12 2021 +0200 +++ b/util/prosodyctl/check.lua Thu Sep 09 22:14:43 2021 +0200 @@ -311,7 +311,7 @@ local ip = require "util.ip"; local c2s_ports = set.new(configmanager.get("*", "c2s_ports") or {5222}); local s2s_ports = set.new(configmanager.get("*", "s2s_ports") or {5269}); - local c2s_tls_ports = set.new(configmanager.get("*", "direct_tls_ports") or {}); + local c2s_tls_ports = set.new(configmanager.get("*", "c2s_direct_tls_ports") or {}); local s2s_tls_ports = set.new(configmanager.get("*", "s2s_direct_tls_ports") or {}); local c2s_srv_required, s2s_srv_required, c2s_tls_srv_required, s2s_tls_srv_required;