Comparison

net/server_event.lua @ 2238:0a6375e9b2e2

net.server_event: Add set_send() for compatibility with server_select
author Matthew Wild <mwild1@gmail.com>
date Thu, 26 Nov 2009 22:22:03 +0000
parent 2237:63fc3cb50dc8
child 2239:c050074d453a
comparison
equal deleted inserted replaced
2237:63fc3cb50dc8 2238:0a6375e9b2e2
378 self.starttls = nil; -- use starttls() of interface_mt 378 self.starttls = nil; -- use starttls() of interface_mt
379 else 379 else
380 self.starttls = false; -- prevent starttls() 380 self.starttls = false; -- prevent starttls()
381 end 381 end
382 end 382 end
383
384 function interface_mt:set_send(new_send)
385 -- No-op, we always use the underlying connection's send
383 end 386 end
384 387
385 function interface_mt:starttls() 388 function interface_mt:starttls()
386 debug( "try to start ssl at client id:", self.id ) 389 debug( "try to start ssl at client id:", self.id )
387 local err 390 local err