Software /
code /
prosody
Diff
plugins/mod_console.lua @ 563:099d8a102deb
Add TLS socket to readlist before handshake starts, fixes major slow-down on TLS connections
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Fri, 05 Dec 2008 19:24:01 +0000 |
parent | 519:cccd610a0ef9 |
child | 565:3a49d85cafbc |
line wrap: on
line diff
--- a/plugins/mod_console.lua Fri Dec 05 19:22:34 2008 +0000 +++ b/plugins/mod_console.lua Fri Dec 05 19:24:01 2008 +0000 @@ -33,7 +33,7 @@ local w = conn.write; local session = { conn = conn; send = function (t) w(tostring(t)); end; - print = function (t) w("| "..tostring(t).."\n"); end; + print = function (t) w("| "..tostring(t).."\r\n"); end; disconnect = function () conn.close(); end; }; session.env = setmetatable({}, default_env_mt);