Karta. SMTP. TLSTransport
(Karta v1.0.0)
The TLS transport the SMTP handler switches to, for STARTTLS (RFC 3207) and for implicit TLS on the submissions port (RFC 8314).
It is ThousandIsland.Transports.SSL with one change: the upgrade of a
plain TCP socket takes a handshake timeout (the :handshake_timeout option,
in milliseconds). ThousandIsland.Transports.SSL.upgrade/2 waits without a
limit, so a client that sends STARTTLS and then stays silent would keep its
connection process forever.