Software /
code /
prosody
Comparison
plugins/mod_s2s.lua @ 11775:af9c7f3f4735
mod_s2s: Rename Direct TLS listener 's2s_direct_tls'
Following the style of other options like (c2s|s2s)_require_encryption,
s2s_secure_auth etc.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 09 Sep 2021 21:59:02 +0200 |
parent | 11774:4625093b0768 |
child | 11859:14cf34d35c30 |
comparison
equal
deleted
inserted
replaced
11774:4625093b0768 | 11775:af9c7f3f4735 |
---|---|
967 }; | 967 }; |
968 }); | 968 }); |
969 | 969 |
970 | 970 |
971 module:provides("net", { | 971 module:provides("net", { |
972 name = "direct_tls_s2s"; | 972 name = "s2s_direct_tls"; |
973 listener = listener; | 973 listener = listener; |
974 encryption = "ssl"; | 974 encryption = "ssl"; |
975 ssl_config = { | 975 ssl_config = { |
976 verify = { "peer", "client_once", }; | 976 verify = { "peer", "client_once", }; |
977 }; | 977 }; |