diff options
author | Matthew Wild <mwild1@gmail.com> | 2009-10-04 15:56:27 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2009-10-04 15:56:27 +0100 |
commit | 0b8c96ecdecfb7f71b12b803bb7ebfc72dbe2c3f (patch) | |
tree | 2d047b2c7b295155f646a80b37025bcff2fb922a /net/server.lua | |
parent | e6396f07f3812da675ec5cb248b9d04d51f7d168 (diff) | |
download | prosody-0b8c96ecdecfb7f71b12b803bb7ebfc72dbe2c3f.tar.gz prosody-0b8c96ecdecfb7f71b12b803bb7ebfc72dbe2c3f.zip |
net.server: Provide a way to get sslctx of a server
Diffstat (limited to 'net/server.lua')
-rw-r--r-- | net/server.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/server.lua b/net/server.lua index eb032c17..ce2c74bb 100644 --- a/net/server.lua +++ b/net/server.lua @@ -230,6 +230,9 @@ wrapserver = function( listeners, socket, ip, serverport, pattern, sslctx, maxco handler.ssl = function( )
return ssl
end
+ handler.sslctx = function( )
+ return sslctx
+ end
handler.remove = function( )
connections = connections - 1
end
|