-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Fix NPE when the subprotocol of websocket is null #28268
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I fixed a typo in subprotocal
in the warn message and also made a few more changes, the most "important" one being avoiding a string concatenation for a debug message that will probably never be displayed.
All force pushed to your branch so let's wait for CI and merge.
Ok thanks for the fix! |
And merged, thanks! |
This PR fixes this issue related to a NPE in
SmallRyeGraphQLOverWebSocketHandler.java
when connecting with websocatThe fix is tested against the reproducer provided in the issue