Software /
code /
prosody
Comparison
plugins/mod_s2s/mod_s2s.lua @ 4849:ea44fad88715
mod_s2s: Remove TODO comment for SASL/TLS on s2s (thanks Florob)
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Fri, 11 May 2012 02:17:20 +0100 |
parent | 4834:878f75ccc4fb |
child | 4873:19e69cea6146 |
comparison
equal
deleted
inserted
replaced
4848:f7a4920aed6b | 4849:ea44fad88715 |
---|---|
175 local xmlns_xmpp_streams = "urn:ietf:params:xml:ns:xmpp-streams"; | 175 local xmlns_xmpp_streams = "urn:ietf:params:xml:ns:xmpp-streams"; |
176 | 176 |
177 function stream_callbacks.streamopened(session, attr) | 177 function stream_callbacks.streamopened(session, attr) |
178 local send = session.sends2s; | 178 local send = session.sends2s; |
179 | 179 |
180 -- TODO: #29: SASL/TLS on s2s streams | |
181 session.version = tonumber(attr.version) or 0; | 180 session.version = tonumber(attr.version) or 0; |
182 | 181 |
183 -- TODO: Rename session.secure to session.encrypted | 182 -- TODO: Rename session.secure to session.encrypted |
184 if session.secure == false then | 183 if session.secure == false then |
185 session.secure = true; | 184 session.secure = true; |