diff options
author | xengineering <me@xengineering.eu> | 2023-06-30 13:22:15 +0200 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2023-06-30 13:22:15 +0200 |
commit | 04f24e0dade8caf029cb78d3281b3587a8362cbe (patch) | |
tree | e1ce4b1c0cce0b6ad0ce2cfc23e3a7e38ec9e469 /xmpp/sasl.go | |
parent | f3aa8bec6e7d91b84a73688191751f9723c008a8 (diff) | |
download | limox-04f24e0dade8caf029cb78d3281b3587a8362cbe.tar limox-04f24e0dade8caf029cb78d3281b3587a8362cbe.tar.zst limox-04f24e0dade8caf029cb78d3281b3587a8362cbe.zip |
Rework and apply stream nesting on SASL success
If SASL authentication is successful a new stream has to be opened by
the client. This is implemented with this commit.
Diffstat (limited to 'xmpp/sasl.go')
-rw-r--r-- | xmpp/sasl.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xmpp/sasl.go b/xmpp/sasl.go index 62c312f..23e8f3f 100644 --- a/xmpp/sasl.go +++ b/xmpp/sasl.go @@ -66,4 +66,5 @@ func hasSaslPlain(e []xml.Token) bool { } func saslSuccessHandler(s *session, e []xml.Token) { + runStreamPair(s) } |