Comparison

net/xmppclient_listener.lua @ 1255:a25b12c105bb

net.xmppclient_listener: Add small comment
author Matthew Wild <mwild1@gmail.com>
date Sun, 31 May 2009 21:31:02 +0100
parent 1215:d3534badd748
child 1422:db9cb1f24f38
comparison
equal deleted inserted replaced
1254:c199be608546 1255:a25b12c105bb
113 local conn_name = "c2s"..tostring(conn):match("[a-f0-9]+$"); 113 local conn_name = "c2s"..tostring(conn):match("[a-f0-9]+$");
114 session.log = logger.init(conn_name); 114 session.log = logger.init(conn_name);
115 115
116 session.log("info", "Client connected"); 116 session.log("info", "Client connected");
117 117
118 -- Client is using legacy SSL (otherwise mod_tls sets this flag)
118 if conn.ssl() then 119 if conn.ssl() then
119 session.secure = true; 120 session.secure = true;
120 end 121 end
121 122
122 session.reset_stream = session_reset_stream; 123 session.reset_stream = session_reset_stream;