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 |