Diff

plugins/mod_c2s.lua @ 4620:e9dc6ae68c69

mod_c2s, mod_s2s: Add multiplex support
author Matthew Wild <mwild1@gmail.com>
date Thu, 15 Mar 2012 03:05:24 +0000
parent 4610:171051f9dd00
child 4625:325965bafae1
line wrap: on
line diff
--- a/plugins/mod_c2s.lua	Thu Mar 15 03:05:02 2012 +0000
+++ b/plugins/mod_c2s.lua	Thu Mar 15 03:05:24 2012 +0000
@@ -231,6 +231,9 @@
 	name = "legacy_ssl";
 	listener = listener;
 	encryption = "ssl";
+	multiplex = {
+		pattern = "^<.*:stream.*%sxmlns%s*=%s*(['\"])jabber:client%1.*>";
+	};
 });