Changeset

1881:35e05b77f6ce

net.server: Provide a way to get sslctx of a server
author Matthew Wild <mwild1@gmail.com>
date Sun, 04 Oct 2009 15:56:27 +0100
parents 1880:d5dc9e06d917
children 1882:ad04cac04354
files net/server.lua
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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