Skip to content

Fix ServEvent::Authenticated#46

Merged
mkj merged 2 commits into
mainfrom
pr/fix-authenticated-event
May 4, 2026
Merged

Fix ServEvent::Authenticated#46
mkj merged 2 commits into
mainfrom
pr/fix-authenticated-event

Conversation

@mkj
Copy link
Copy Markdown
Owner

@mkj mkj commented May 4, 2026

ServEvent::Authenticated wasn't actually being emitted in #45

This also adds more debug_assert! checks and makes codepaths a bit more consistent.

mkj added 2 commits May 4, 2026 23:51
It needs to be put in the pending extra_resume_event member, to be
emitted next time. Otherwise resume_event gets cleared on the next call
to progress()

Fixes: 7dba57d ("Add ServEvent::Authenticated")
All resume functions can discard the input payload on completion, so
move that to Runner::resume()

An extra set_extra_resume() function checks that it is not overwriting
an existing event.
@mkj mkj force-pushed the pr/fix-authenticated-event branch from 7773d41 to 46b5296 Compare May 4, 2026 15:51
@mkj mkj merged commit 46b5296 into main May 4, 2026
4 checks passed
@mkj mkj deleted the pr/fix-authenticated-event branch May 4, 2026 15:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant