Software /
code /
prosody
Changeset
562:04ee161d936b
Comment out debug logging for now
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Fri, 05 Dec 2008 19:22:34 +0000 |
parents | 561:e2a88796cdce |
children | 563:099d8a102deb |
files | net/server.lua |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/net/server.lua Fri Dec 05 19:21:44 2008 +0000 +++ b/net/server.lua Fri Dec 05 19:22:34 2008 +0000 @@ -265,7 +265,7 @@ 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 @@ ) handler.receivedata = handler.handshake handler.dispatchdata = handler.handshake - + handler.handshake( socket ) -- do handshake end socketlist[ socket ] = handler @@ -658,7 +658,7 @@ 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 )