Split out TransportConfiguration

This allows using the same transport configuration from both clients and components.
This commit is contained in:
Wichert Akkerman
2019-10-11 06:24:27 +02:00
committed by Mickaël Rémond
parent 66e219844b
commit 96fccbd399
4 changed files with 26 additions and 22 deletions
+1 -1
View File
@@ -132,7 +132,7 @@ func (s *Session) startTlsIfSupported(transport Transport, domain string, o Conf
return
}
s.err = transport.StartTLS(domain, o)
s.err = transport.StartTLS(domain)
if s.err == nil {
s.TlsEnabled = true