diff options
author | Matthew Wild <mwild1@gmail.com> | 2009-11-22 03:53:44 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2009-11-22 03:53:44 +0000 |
commit | e6249e1a9e5f4e1cf2cc36d46402d4a529982cd0 (patch) | |
tree | de4e89d446a881e4a8b10101c855c8fe8aa08382 /net/server_event.lua | |
parent | 9ad7e92bf95639ba57df4811b44ba714c6f2402f (diff) | |
download | prosody-e6249e1a9e5f4e1cf2cc36d46402d4a529982cd0.tar.gz prosody-e6249e1a9e5f4e1cf2cc36d46402d4a529982cd0.zip |
net.server_event: Add set_sslctx() method to connections
Diffstat (limited to 'net/server_event.lua')
-rw-r--r-- | net/server_event.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/net/server_event.lua b/net/server_event.lua index 1a77953d..41c5a02b 100644 --- a/net/server_event.lua +++ b/net/server_event.lua @@ -370,7 +370,9 @@ do return self.addr
end
-
+ function interface_mt:set_sslctx(sslctx)
+ self._sslctx = sslctx;
+ end
function interface_mt:starttls()
debug( "try to start ssl at client id:", self.id )
|