Skip to content

fix: close an HTTP session's peer and resource independently, and fail on errors - #450

Merged
devopvoid merged 1 commit into
mainfrom
fix/http-session-close-errors
Oct 26, 2026
Merged

devopvoid merged 1 commit into
mainfrom
fix/http-session-close-errors

Conversation

@devopvoid

Copy link
Copy Markdown
Owner

A WHIP/WHEP session's closeAsync() deleted the resource first and closed the peer after it, so a slow server held the peer open, and its future completed successfully even when the deletion or the peer close failed.

Both now start at once, and the future fails with the deletion's error (the peer's goes along as suppressed) or with the peer's. A failed deletion still goes to the runtime's error handler as well.

@devopvoid
devopvoid merged commit 1d199c5 into main Oct 26, 2026
25 checks passed
@devopvoid
devopvoid deleted the fix/http-session-close-errors branch October 26, 2026 06:08
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