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

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

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

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

net/server.lua file | annotate | diff | comparison | revisions
--- a/net/server.lua	Sun Oct 04 14:35:39 2009 +0100
+++ b/net/server.lua	Sun Oct 04 15:56:27 2009 +0100
@@ -230,6 +230,9 @@
     handler.ssl = function( )
         return ssl
     end
+    handler.sslctx = function( )
+        return sslctx
+    end
     handler.remove = function( )
         connections = connections - 1
     end

mercurial