aboutsummaryrefslogtreecommitdiffstats
path: root/net/server_select.lua
diff options
context:
space:
mode:
authorTobias Markmann <tm@ayena.de>2010-03-12 18:37:51 +0100
committerTobias Markmann <tm@ayena.de>2010-03-12 18:37:51 +0100
commit3a972b1742c28b7ef9cb5f76ed3bc69f752b5899 (patch)
tree30df4b977bcece5a3e2e3a4819d4b8d4e5d9cd14 /net/server_select.lua
parent263683d8c2bbb471ac3527d0bc106064c834d045 (diff)
downloadprosody-3a972b1742c28b7ef9cb5f76ed3bc69f752b5899.tar.gz
prosody-3a972b1742c28b7ef9cb5f76ed3bc69f752b5899.zip
util.sasl: 2009 -> 2010 in copyright header.
Diffstat (limited to 'net/server_select.lua')
-rw-r--r--net/server_select.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/server_select.lua b/net/server_select.lua
index 685cd13e..4fe56521 100644
--- a/net/server_select.lua
+++ b/net/server_select.lua
@@ -508,6 +508,9 @@ wrapconnection = function( server, listeners, socket, ip, serverport, clientport
out_put( "server.lua: ssl handshake done" )
handler.readbuffer = _readbuffer -- when handshake is done, replace the handshake function with regular functions
handler.sendbuffer = _sendbuffer
+ out_put ("server.lua: compression used: "..tostring(client:compression()))
+ out_put ("server.lua: finished: "..tostring(client:getfinished()):sub(1, 300):gsub("[\r\n]+", " "):gsub("[%z\1-\31]", "_"))
+ out_put ("server.lua: peer finished: "..tostring(client:getpeerfinished()):sub(1, 300):gsub("[\r\n]+", " "):gsub("[%z\1-\31]", "_"))
_ = status and status( handler, "ssl-handshake-complete" )
_readlistlen = addsocket(_readlist, client, _readlistlen)
return true