Comparison

plugins/mod_s2s.lua @ 11367:9525c4b4e5de

mod_s2s: Clarify comment about unused TLS settings Ref 115b5e32d960
author Kim Alvefur <zash@zash.se>
date Sat, 06 Feb 2021 21:40:21 +0100
parent 11238:ec84194356d4
child 11415:a38f9e09ca31
comparison
equal deleted inserted replaced
11366:618ab9bba1c2 11367:9525c4b4e5de
800 module:provides("net", { 800 module:provides("net", {
801 name = "s2s"; 801 name = "s2s";
802 listener = listener; 802 listener = listener;
803 default_port = 5269; 803 default_port = 5269;
804 encryption = "starttls"; 804 encryption = "starttls";
805 ssl_config = { -- FIXME This is not used atm, see mod_tls 805 ssl_config = {
806 -- FIXME This only applies to Direct TLS, which we don't use yet.
807 -- This gets applied for real in mod_tls
806 verify = { "peer", "client_once", }; 808 verify = { "peer", "client_once", };
807 }; 809 };
808 multiplex = { 810 multiplex = {
809 protocol = "xmpp-server"; 811 protocol = "xmpp-server";
810 pattern = "^<.*:stream.*%sxmlns%s*=%s*(['\"])jabber:server%1.*>"; 812 pattern = "^<.*:stream.*%sxmlns%s*=%s*(['\"])jabber:server%1.*>";