Comparison

net/server.lua @ 1881:35e05b77f6ce

net.server: Provide a way to get sslctx of a server
author Matthew Wild <mwild1@gmail.com>
date Sun, 04 Oct 2009 15:56:27 +0100
parent 1865:388b125b784a
child 1882:ad04cac04354
comparison
equal deleted inserted replaced
1880:d5dc9e06d917 1881:35e05b77f6ce
227 227
228 handler.shutdown = function( ) end 228 handler.shutdown = function( ) end
229 229
230 handler.ssl = function( ) 230 handler.ssl = function( )
231 return ssl 231 return ssl
232 end
233 handler.sslctx = function( )
234 return sslctx
232 end 235 end
233 handler.remove = function( ) 236 handler.remove = function( )
234 connections = connections - 1 237 connections = connections - 1
235 end 238 end
236 handler.close = function( ) 239 handler.close = function( )