Software /
code /
prosody
Comparison
plugins/mod_s2s/mod_s2s.lua @ 10226:77f900bbbf25
Remove COMPAT with temporary luasec fork
The changes in the temporary fork were merged into mainline luasec ca
2013 and included in the 0.5 release in 2014.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 25 Aug 2019 23:12:55 +0200 |
parent | 10120:756b8821007a |
child | 10240:a17f47d5e119 |
comparison
equal
deleted
inserted
replaced
10225:9bdd9b6bf362 | 10226:77f900bbbf25 |
---|---|
318 local info = sock:info(); | 318 local info = sock:info(); |
319 (session.log or log)("info", "Stream encrypted (%s with %s)", info.protocol, info.cipher); | 319 (session.log or log)("info", "Stream encrypted (%s with %s)", info.protocol, info.cipher); |
320 session.compressed = info.compression; | 320 session.compressed = info.compression; |
321 else | 321 else |
322 (session.log or log)("info", "Stream encrypted"); | 322 (session.log or log)("info", "Stream encrypted"); |
323 session.compressed = sock.compression and sock:compression(); --COMPAT mw/luasec-hg | |
324 end | 323 end |
325 end | 324 end |
326 | 325 |
327 if session.direction == "incoming" then | 326 if session.direction == "incoming" then |
328 -- Send a reply stream header | 327 -- Send a reply stream header |