Issue #4548 - clean up websocket removing duplicated and unused classes#4549
Issue #4548 - clean up websocket removing duplicated and unused classes#4549lachlan-roberts merged 19 commits intojetty-10.0.xfrom
Conversation
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
|
Quite the mess you have here. :-) The InvokerUtils has 2 versions. The javax version is the most complete and should be the one we settle on for websocket-core (or even jetty-util) |
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
joakime
left a comment
There was a problem hiding this comment.
The MessageWriter should not use OutputStreamWriter, as the contract for OutputStreamWriter violates the rules of RFC6455 (we MUST validate outgoing UTF-8 and fail the connection if in violation. OutputStreamWriter will use replacement characters, which is not allowed)
|
@joakime good catch, I see that this is a problem but it would also be good to not duplicate the implementations, and we probably want to use the I see that this is also going to be a problem with our I might leave out the changes to |
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
|
I had to change |
MessageWriter reverted, more work needed in new PR.
|
Can I get some reviews on this soon. Any other work in jetty-10 websocket would likely cause lots of merge conflicts as there are so many files changed here. I also have some further changes based off this branch to fix issues #4538 and #4571. So I can put PRs up for those once this has been merged. |
gregw
left a comment
There was a problem hiding this comment.
There are aspects of these classes I don't like.... but in general the move to util is good!
Please file issues about what you don't like. |
Closes #4548
websocket-utilwhich contains implementation classes shared bywebsocket-jettyandwebsocket-javax.Other general cleanups, removed unused interfaces and classes, etc..