Changeset

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
parents 1881:35e05b77f6ce
children 1883:6866cf298701
files net/server.lua
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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