mirror of
https://github.com/FluuxIO/go-xmpp.git
synced 2025-01-17 20:09:02 -08:00
Reset isSecure in StartTLS()
This commit is contained in:
parent
1e92089f96
commit
f1331dcebc
@ -93,6 +93,7 @@ func (t *XMPPTransport) StartTLS() error {
|
||||
return err
|
||||
}
|
||||
|
||||
t.isSecure = false
|
||||
t.conn = tlsConn
|
||||
t.readWriter = newStreamLogger(tlsConn, t.logFile)
|
||||
t.decoder = xml.NewDecoder(bufio.NewReaderSize(t.readWriter, maxPacketSize))
|
||||
|
Loading…
Reference in New Issue
Block a user