Software /
code /
prosody
Changeset
2119:9fd2782d63f6
net.server_event: Add set_sslctx() method to connections
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sun, 22 Nov 2009 03:53:44 +0000 |
parents | 2118:2e2e1b46cfe2 |
children | 2120:93eae69fc121 |
files | net/server_event.lua |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/net/server_event.lua Sun Nov 22 03:53:07 2009 +0000 +++ b/net/server_event.lua Sun Nov 22 03:53:44 2009 +0000 @@ -370,7 +370,9 @@ 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 )