net.server: Provide a way to get sslctx of a client connection

Sun, 04 Oct 2009 15:56:55 +0100

author
Matthew Wild <mwild1@gmail.com>
date
Sun, 04 Oct 2009 15:56:55 +0100
changeset 1882
ad04cac04354
parent 1881
35e05b77f6ce
child 1883
6866cf298701

net.server: Provide a way to get sslctx of a client connection

net/server.lua file | annotate | diff | comparison | revisions
--- 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

mercurial