Software /
code /
prosody
Diff
net/server_select.lua @ 2998:36c169ed1576
Merge Tobias's fancy SASL branch->trunk
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Wed, 05 May 2010 11:29:10 +0100 |
parent | 2970:9b8e139eff5f |
parent | 2997:6ccaefea80ec |
child | 3007:9d122a6ae674 |
line wrap: on
line diff
--- a/net/server_select.lua Wed May 05 11:25:26 2010 +0100 +++ b/net/server_select.lua Wed May 05 11:29:10 2010 +0100 @@ -508,6 +508,9 @@ 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