# HG changeset patch # User Matthew Wild # Date 1258862024 0 # Node ID 9fd2782d63f631d2e79f929bc897e23f7118fe41 # Parent 2e2e1b46cfe261dc15531dc62016898d9de10eaa net.server_event: Add set_sslctx() method to connections diff -r 2e2e1b46cfe2 -r 9fd2782d63f6 net/server_event.lua --- 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 )