Skip to content

request/calloop: Improved handling of disconnect from server or client#17

Merged
ids1024 merged 7 commits intomasterfrom
disconnect
Feb 12, 2026
Merged

request/calloop: Improved handling of disconnect from server or client#17
ids1024 merged 7 commits intomasterfrom
disconnect

Conversation

@ids1024
Copy link
Owner

@ids1024 ids1024 commented Feb 12, 2026

No description provided.

@ids1024
Copy link
Owner Author

ids1024 commented Feb 12, 2026

I think using shutdown() here makes sense. The goal is to ensure the calloop event source always either returns Err or Disconnect on when the connection ends, returns Disconnect if either the server or client requested the disconnect explictly, and then the source returns PostAction::Remove after.

@ids1024 ids1024 merged commit 657f99c into master Feb 12, 2026
6 checks passed
@ids1024 ids1024 deleted the disconnect branch February 12, 2026 03:54
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