comparison plugins/mod_c2s.lua @ 13971:97d15552d364

mod_c2s: Fix typo
author Kim Alvefur <zash@zash.se>
date Wed, 01 Oct 2025 17:39:20 +0200
parents 75a3ac3ad198
children c1469296190d
comparison
equal deleted inserted replaced
13970:75a3ac3ad198 13971:97d15552d364
154 (session.log or log)("warn", "No stream features to offer on secure session. Check authentication settings."); 154 (session.log or log)("warn", "No stream features to offer on secure session. Check authentication settings.");
155 session:close{ condition = "undefined-condition", text = "No authentication method available" }; 155 session:close{ condition = "undefined-condition", text = "No authentication method available" };
156 else 156 else
157 -- Normally STARTTLS would be offered, is mod_tls loaded? 157 -- Normally STARTTLS would be offered, is mod_tls loaded?
158 (session.log or log)("warn", "No stream features to offer on insecure session. Check encryption and security settings."); 158 (session.log or log)("warn", "No stream features to offer on insecure session. Check encryption and security settings.");
159 session:close{ condition = "undefined-condition", text = "No connection encryptio available" }; 159 session:close{ condition = "undefined-condition", text = "No connection encryption available" };
160 end 160 end
161 end 161 end
162 162
163 function stream_callbacks.streamclosed(session, attr) 163 function stream_callbacks.streamclosed(session, attr)
164 -- run _streamclosed in async context 164 -- run _streamclosed in async context