diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/server.lua | 6 |
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 ) |