Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GUACAMOLE-1974: Allow deferring received pipe streams for later consumption by name-specific handlers. #1001

Merged

Conversation

jmuehlner
Copy link
Contributor

This change modifies the ManagedClient class such that pipe streams prior to an onpipe handler being set can still be processed.

The idea is that you can register a pipe stream handler for a particular pipe stream name, and that handler will be reliably invoked when a new pipe stream with that name is received, OR if such a pipe stream was already received prior to registration.

@aleitner
Copy link
Contributor

aleitner commented Aug 1, 2024

Looks solid to me! But I'd like another set of eyes on it

@necouchman
Copy link
Contributor

I'm also good with the changes - looks pretty straight-forward to me, though admittedly JavaScript is not my strong point.

Copy link
Contributor

@mike-jumper mike-jumper left a comment

Choose a reason for hiding this comment

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

LGTM - no issues except a missing semicolon.

@jmuehlner jmuehlner force-pushed the GUACAMOLE-1974-allow-deferring-of-pipe-streams branch from b4dc7a2 to 2770ef3 Compare October 30, 2024 21:03
@aleitner aleitner merged commit b5c9a08 into apache:main Oct 31, 2024
1 check 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.

4 participants