Correctly open new streams after StartTLS and auth

This commit is contained in:
Wichert Akkerman
2019-10-25 15:55:27 +02:00
committed by Mickaël Rémond
parent 33446ad0ba
commit 6da1962962
6 changed files with 52 additions and 43 deletions
+2 -1
View File
@@ -27,10 +27,11 @@ type TransportConfiguration struct {
type Transport interface {
Connect() (string, error)
DoesStartTLS() bool
StartTLS() (string, error)
StartTLS() error
LogTraffic(logFile io.Writer)
StartStream() (string, error)
GetDecoder() *xml.Decoder
IsSecure() bool