Skip to content

Bug/red5dev 2425 - #484

Merged
mondain merged 5 commits into
mainfrom
bug/red5dev-2425
Sep 19, 2026
Merged

mondain merged 5 commits into
mainfrom
bug/red5dev-2425

Conversation

@nateroe

@nateroe nateroe commented Sep 17, 2026

Copy link
Copy Markdown
Contributor

Pull Request

This PR fixes RED5DEV-2425

Changes proposed in this pull request:
a. Undecrypted bytes are identified by buffer identity and rejected, and the session is closed. Renegotiation and a client's final commands sent together with its TLS close (FFmpeg's FCUnpublish) still get through. The first version of the guard dropped those final commands; the node test caught it, so it was redone.
b. SSLException now closes the connection, instead of Red5 assuming MINA does it.
c. The decoder consumes its input when the connection is already gone. That stops the loop that tied up the customer's I/O threads for an hour. The loop is proven and the fix verified in a JVM test, but it never reproduced on a node.

nateroe and others added 4 commits September 14, 2026 16:39
… joins [AUTO-724]

- ScopeResolver arms an idle check with a 30s grace period on rooms it
  creates, so a room left behind by a rejected or aborted request is removed
- The keep alive job reschedules for remaining retention time instead of
  giving up, and defers when blocked by an in-flight connect or child add,
  a connection not yet removed, or a child room / in-use broadcast scope;
  the event that clears the blocker resumes the check
- Shared object children no longer pin a room, matching previous behavior
- A sooner check replaces a pending later one, and the job clears its
  reference under the scope monitor before checking
- addChildScope no longer holds the scope monitor across handler callbacks;
  a pending child add count guards removal instead
@nateroe
nateroe requested a review from mondain September 17, 2026 18:05

@mondain mondain left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks fine, I'm just leery about bumping mina to 2.2.x as it spiders outward in many places.

@sonarqubecloud

Copy link
Copy Markdown

@mondain
mondain merged commit 946ef82 into main Sep 19, 2026
4 checks passed
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.

2 participants