summaryrefslogtreecommitdiff
path: root/xmpp/stream_pair.go
AgeCommit message (Collapse)Author
2023-07-03Rename stream_pair.go to streams.goxengineering
The fact that it is actually about a pair of XML streams is obvious and not that relevant. A shorter name has a higher priority.
2023-06-30Send initial presence after resource resultxengineering
This completes the connection process.
2023-06-30Implement resource binding requestxengineering
This is the first step of resource binding which is a mandatory part of establishing an XMPP connection.
2023-06-30Implement detection of resource binding offerxengineering
This allows to trigger resource binding if the stream supports it.
2023-06-30Make streamFeaturesHandler() more genericxengineering
The new structure allows to check for different stream features and act according to them or - if nothing matches - do nothing apart from an error message to the log.
2023-06-30Rework and apply stream nesting on SASL successxengineering
If SASL authentication is successful a new stream has to be opened by the client. This is implemented with this commit.
2023-06-30Send SASL request based on new routingxengineering
2023-06-30Add session pointer to routing infrastructurexengineering
It is nearly useless to route a XML element to an appropriate handler function if the latter has no idea how to send responses to the server or the GUI. Passing a pointer to the session solves this issue.
2023-06-30Move SASL mechanism detection to xmpp/sasl.goxengineering
2023-06-30Add detection for SASL mechanismxengineering
This is needed to respond with a SASL auth attempt.
2023-06-30Add dummy handler for stream features elementsxengineering
This is the first step to handle stream features correctly with the new routing infrastructure.
2023-06-30Add xmpp/router.goxengineering
This implements a routing function for XML elements received by an XML stream.
2023-06-28xmpp: Implement basic elementBufferxengineering
This is needed to buffer XML elements of a stream until they are complete and can be given to an element handler.
2023-06-28xmpp: Implement syncStreams()xengineering
This should ensure that the incoming and outgoing XML streams are in sync.
2023-06-28xmpp: Move Stream logic to stream_pair.goxengineering
The new source file should contain the complete stream logic.