mirror of
https://github.com/FluuxIO/go-xmpp.git
synced 2025-11-17 23:23:44 -08:00
Create a new stream after StartTLS
This commit is contained in:
committed by
Mickaël Rémond
parent
390f9b065e
commit
33446ad0ba
@@ -51,7 +51,7 @@ func (c *ServerCheck) Check() error {
|
||||
decoder := xml.NewDecoder(tcpconn)
|
||||
|
||||
// Send stream open tag
|
||||
if _, err = fmt.Fprintf(tcpconn, xmppStreamOpen, c.domain, stanza.NSClient, stanza.NSStream); err != nil {
|
||||
if _, err = fmt.Fprintf(tcpconn, clientStreamOpen, c.domain); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user