plugins/mod_s2s/s2sout.lib.lua
changeset 5799 4a7e90b4c97d
parent 5798 c610b5fb53f3
child 5859 e327f2d4e09f
equal deleted inserted replaced
5798:c610b5fb53f3 5799:4a7e90b4c97d
   263 
   263 
   264 	return true;
   264 	return true;
   265 end
   265 end
   266 
   266 
   267 function s2sout.make_connect(host_session, connect_host, connect_port)
   267 function s2sout.make_connect(host_session, connect_host, connect_port)
   268 	(host_session.log or log)("info", "Beginning new connection attempt to %s ([%s]:%d)", host_session.to_host, connect_host.addr, connect_port);
   268 	(host_session.log or log)("debug", "Beginning new connection attempt to %s ([%s]:%d)", host_session.to_host, connect_host.addr, connect_port);
   269 
   269 
   270 	-- Reset secure flag in case this is another
   270 	-- Reset secure flag in case this is another
   271 	-- connection attempt after a failed STARTTLS
   271 	-- connection attempt after a failed STARTTLS
   272 	host_session.secure = nil;
   272 	host_session.secure = nil;
   273 
   273