Various homeserver state FST and queue fixes #101
No reviewers
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
cadence/out-of-your-element!101
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "l1s5/out-of-your-element:homeserver-online-check-fixes"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hi!
This PR fix some bugs in the homeserver state machinery.
The most important one is probably handling of messages that arrive while in the
checkingstate, something that would previously cause an assertion error.There is also a smaller one where a stale ping might might attempt an invalid state transition (and assumingly crash the program as a result).
I also merged
setErrorWithPacketintoqueuePacketlike we talked about, but not much refactoring beyond that. The new function infers any state transitions needed automatically.checkingstate ff344ef73aff344ef73atoa04daf2fb8New changes:
offlineHomeserverto Various homeserver state FST and queue fixescheckingstate queue fixesView command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.