Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove ORIGIN header from ws opening handshake v13, clean up code (#1…
…2293) Motivation: In Netty 5 we only left the latest 13 version of websocket, so we can clean up the code a bit. Modification: - Remove `origin` header from handshake request, it can be set with `customHeaders`, see #9673 - Calculate expected value of `sec-websocket-accept` only when we received a response - Remove unused code - Add more tests for clientHandshaker13 Result: Removed not used code and fixed wrong behaviour with origin header #9673.
- Loading branch information
Showing
9 changed files
with
287 additions
and
280 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.