author | Kim Alvefur <zash@zash.se> |
Sun, 06 Oct 2019 19:34:03 +0200 | |
changeset 10313 | 2a31571efce0 |
parent 10312 | 48e392dbf6e7 |
child 10314 | b03065cd033a |
--- a/net/server_epoll.lua Sun Oct 06 16:34:42 2019 +0200 +++ b/net/server_epoll.lua Sun Oct 06 19:34:03 2019 +0200 @@ -548,8 +548,8 @@ end local ok, err = self.conn:dohandshake(); if ok then - if self.conn.info then - local info = self.conn:info(); + local info = self.conn.info and self.conn:info(); + if type(info) == "table" then self:debug("TLS handshake complete (%s with %s)", info.protocol, info.cipher); else self:debug("TLS handshake complete");