--- a/plugins/mod_c2s.lua Sun Oct 06 23:18:54 2013 +0200
+++ b/plugins/mod_c2s.lua Mon Oct 07 12:43:00 2013 +0200
@@ -69,6 +69,7 @@
-- since we now have a new stream header, session is secured
if session.secure == false then
session.secure = true;
+ session.encrypted = true;
local sock = session.conn:socket();
if sock.info then
@@ -209,6 +210,7 @@
-- Client is using legacy SSL (otherwise mod_tls sets this flag)
if conn:ssl() then
session.secure = true;
+ session.encrypted = true;
-- Check if TLS compression is used
local sock = conn:socket();