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

Guard the websocket upgrade to only happen once for a request. #24759

Merged
merged 1 commit into from
Jan 23, 2024

Conversation

arjantijms
Copy link
Contributor

@arjantijms arjantijms commented Jan 23, 2024

Without that guard in place the websocket upgrade code could be executed multiple times as "basic.invoke(req, resp);" (just above the changed code) could lead to the invocation of another PipeLine executing the same code. This on its turn leads to various unwanted effects and exceptions.

Without that guard in place it could happen multiple times as
"basic.invoke(req, resp);" could lead to the invocation of another
PipeLine executing the same code.

Signed-off-by: Arjan Tijms <arjan.tijms@omnifish.ee>
@arjantijms arjantijms merged commit d9730bd into eclipse-ee4j:master Jan 23, 2024
2 checks passed
@arjantijms arjantijms deleted the guard_websocket_upgrade branch January 23, 2024 17:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants