changeset 12486 | b193f8a2737e |
parent 12334 | 38b5b05407be |
child 12487 | 988a3a7e1f35 |
--- a/plugins/mod_tls.lua Sat Apr 02 11:15:33 2022 +0200 +++ b/plugins/mod_tls.lua Fri Sep 17 21:18:30 2021 +0200 @@ -80,6 +80,9 @@ module:hook_global("config-reloaded", module.load); local function can_do_tls(session) + if session.secure then + return false; + end if session.conn and not session.conn.starttls then if not session.secure then session.log("debug", "Underlying connection does not support STARTTLS");