From e6249e1a9e5f4e1cf2cc36d46402d4a529982cd0 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Sun, 22 Nov 2009 03:53:44 +0000 Subject: net.server_event: Add set_sslctx() method to connections --- net/server_event.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 ) -- cgit v1.2.3