aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2008-12-05 19:22:34 +0000
committerMatthew Wild <mwild1@gmail.com>2008-12-05 19:22:34 +0000
commit32371bbb23449dc86e5d66c54ae862747bc7f398 (patch)
tree9a0fe48f76564edcc95b6dad8ddcef79d4a8f85b
parentf334846311bbf92d404d17064f5693e1ef79d151 (diff)
downloadprosody-32371bbb23449dc86e5d66c54ae862747bc7f398.tar.gz
prosody-32371bbb23449dc86e5d66c54ae862747bc7f398.zip
Comment out debug logging for now
-rw-r--r--net/server.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/server.lua b/net/server.lua
index e8a4349c..9d178cb2 100644
--- a/net/server.lua
+++ b/net/server.lua
@@ -265,7 +265,7 @@ wrapsslclient = function( listener, socket, ip, serverport, clientport, mode, ss
local count = #data * STAT_UNIT
rstat = rstat + count
receivestat = receivestat + count
- out_put( "server.lua: read data '", data, "', error: ", err )
+ --out_put( "server.lua: read data '", data, "', error: ", err )
return dispatch( handler, data, err )
else -- connections was closed or fatal error
out_put( "server.lua: client ", ip, ":", clientport, " error: ", err )
@@ -562,7 +562,7 @@ wraptlsclient = function( listener, socket, ip, serverport, clientport, mode, ss
)
handler.receivedata = handler.handshake
handler.dispatchdata = handler.handshake
-
+
handler.handshake( socket ) -- do handshake
end
socketlist[ socket ] = handler
@@ -658,7 +658,7 @@ wraptcpclient = function( listener, socket, ip, serverport, clientport, mode )
local count = #data * STAT_UNIT
rstat = rstat + count
receivestat = receivestat + count
- out_put( "server.lua: read data '", data, "', error: ", err )
+ --out_put( "server.lua: read data '", data, "', error: ", err )
return dispatch( handler, data, err )
else -- connections was closed or fatal error
out_put( "server.lua: client ", ip, ":", clientport, " error: ", err )