On Tue, Feb 4, 2025 at 8:11 AM Daniel Gultsch <daniel(a)gultsch.de> wrote:
So yes I believe you would include the xml header, the
stream start
and the auth element in the early data. As soon as the connection is
established the server responds with a stream start of it’s own,
stream features and the response to auth, and stream features again
(as per 0388).
A quick PS: I use the first stream features to verify that my
opportunistic assumptions (server supports SASL2+bind+fast) are still
correct and otherwise reset the "use fast on that server" flag to
ensure that the next connect properly runs through feature discovery
again.