Browse Source

Reset isSecure in StartTLS()

160-regression
rcorniere 2 years ago
parent
commit
f1331dcebc
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      xmpp_transport.go

+ 1
- 0
xmpp_transport.go View File

@ -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…
Cancel
Save