-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Issue #3884 - Pure WebSocketFrameListener should not process Continuation events #3885
Issue #3884 - Pure WebSocketFrameListener should not process Continuation events #3885
Conversation
…tion events Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
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.
This does not fix JettyAnnotatedEventDriver
.
…ation events Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
Good catch. |
...ommon/src/main/java/org/eclipse/jetty/websocket/common/events/JettyAnnotatedEventDriver.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
+ If an annotated Jetty WebSocket Endpoint doesn't have a handler for data types TEXT or BINARY then the new NullMessage (sink) is used for that specific data type to consume (quietly) those ignored Messages. Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
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.
Thanks! 👍
...common/src/main/java/org/eclipse/jetty/websocket/common/events/JettyListenerEventDriver.java
Show resolved
Hide resolved
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.
theres a few things you might want to fix up with the tests first
but after that it looks good to merge
...socket-tests/src/test/java/org/eclipse/jetty/websocket/tests/server/FrameAnnotationTest.java
Show resolved
Hide resolved
...ebsocket-tests/src/test/java/org/eclipse/jetty/websocket/tests/server/FrameListenerTest.java
Outdated
Show resolved
Hide resolved
...socket-tests/src/test/java/org/eclipse/jetty/websocket/tests/client/WebSocketClientTest.java
Outdated
Show resolved
Hide resolved
+ Test cases have been updated based on PR review + Fixing merge from `jetty-9.4.x` that caused a duplicate JettyListenerEventDriver.onContinuationFrame() method Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
Signed-off-by: Joakim Erdfelt joakim.erdfelt@gmail.com