Comparison

plugins/mod_c2s.lua @ 4626:9df9e87d0339

mod_c2s: Add missing multiplexed service discovery pattern.
author Kim Alvefur <zash@zash.se>
date Thu, 15 Mar 2012 17:37:07 +0100
parent 4625:325965bafae1
child 4753:142e21f6bf8e
comparison
equal deleted inserted replaced
4625:325965bafae1 4626:9df9e87d0339
223 module:add_item("net-provider", { 223 module:add_item("net-provider", {
224 name = "c2s"; 224 name = "c2s";
225 listener = listener; 225 listener = listener;
226 default_port = 5222; 226 default_port = 5222;
227 encryption = "starttls"; 227 encryption = "starttls";
228 multiplex = {
229 pattern = "^<.*:stream.*%sxmlns%s*=%s*(['\"])jabber:client%1.*>";
230 };
228 }); 231 });
229 232
230 module:add_item("net-provider", { 233 module:add_item("net-provider", {
231 name = "legacy_ssl"; 234 name = "legacy_ssl";
232 listener = listener; 235 listener = listener;