-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add initial support for PerMessage Deflate (#2273)
* Add initial support for PerMessage Deflate * Add Client websocket deflate init support.(not tested) Add no takeover extension to server and client. * Update parser to support compress parse * fix for CI TODO: add tests * add document for compress * Improve compress detect logic Add parser test for rsv1 * Complete Client websocket deflate support Add tests * update * sort import * Add more tests Client deflate support should now more complete fix linting * fix typo * add 2 more tests * Using regex to parse header Fix client code Add more tests * remove dead code * coverage * Add reader deflate flag support. If reader created with compress=0, it will raise PROTOCOL_ERROR if rvb1 = 1. * fixed * Using array.join instead of strcat. Using exception instead of return value. * fix * Update http_websocket.py * Update 2273.feature * add docs for server * Update client.py Disable websocket compression on client side by default * Update client_reference.rst
- Loading branch information
Showing
14 changed files
with
695 additions
and
70 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.