Comparison

net/server.lua @ 1882:ad04cac04354

net.server: Provide a way to get sslctx of a client connection
author Matthew Wild <mwild1@gmail.com>
date Sun, 04 Oct 2009 15:56:55 +0100
parent 1881:35e05b77f6ce
child 1883:6866cf298701
comparison
equal deleted inserted replaced
1881:35e05b77f6ce 1882:ad04cac04354
336 handler.getstats = function( ) 336 handler.getstats = function( )
337 return readtraffic, sendtraffic 337 return readtraffic, sendtraffic
338 end 338 end
339 handler.ssl = function( ) 339 handler.ssl = function( )
340 return ssl 340 return ssl
341 end
342 handler.sslctx = function ( )
343 return sslctx
341 end 344 end
342 handler.send = function( _, data, i, j ) 345 handler.send = function( _, data, i, j )
343 return send( socket, data, i, j ) 346 return send( socket, data, i, j )
344 end 347 end
345 handler.receive = function( pattern, prefix ) 348 handler.receive = function( pattern, prefix )