# HG changeset patch # User Matthew Wild # Date 1254668215 -3600 # Node ID ad04cac043546aecf4231b45cee5f8841116518d # Parent 35e05b77f6ce53744bb7b92c8c8e395824ede4a7 net.server: Provide a way to get sslctx of a client connection diff -r 35e05b77f6ce -r ad04cac04354 net/server.lua --- a/net/server.lua Sun Oct 04 15:56:27 2009 +0100 +++ b/net/server.lua Sun Oct 04 15:56:55 2009 +0100 @@ -339,6 +339,9 @@ handler.ssl = function( ) return ssl end + handler.sslctx = function ( ) + return sslctx + end handler.send = function( _, data, i, j ) return send( socket, data, i, j ) end