Software /
code /
prosody
Comparison
plugins/mod_c2s.lua @ 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 |
parent | 11770:d2a9aa1c7ac8 |
child | 11868:ae093c259da2 |
comparison
equal
deleted
inserted
replaced
11777:08de090e05e9 | 11778:f254fd16218a |
---|---|
440 pattern = "^<.*:stream.*%sxmlns%s*=%s*(['\"])jabber:client%1.*>"; | 440 pattern = "^<.*:stream.*%sxmlns%s*=%s*(['\"])jabber:client%1.*>"; |
441 }; | 441 }; |
442 }); | 442 }); |
443 | 443 |
444 module:provides("net", { | 444 module:provides("net", { |
445 name = "direct_tls"; | 445 name = "c2s_direct_tls"; |
446 listener = listener; | 446 listener = listener; |
447 encryption = "ssl"; | 447 encryption = "ssl"; |
448 multiplex = { | 448 multiplex = { |
449 pattern = "^<.*:stream.*%sxmlns%s*=%s*(['\"])jabber:client%1.*>"; | 449 pattern = "^<.*:stream.*%sxmlns%s*=%s*(['\"])jabber:client%1.*>"; |
450 }; | 450 }; |