-
Notifications
You must be signed in to change notification settings - Fork 216
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
Permessage-deflate extension #144
Closed
Closed
Changes from all commits
Commits
Show all changes
40 commits
Select commit
Hold shift + click to select a range
e93f9a0
Adds initial deflate implementation
SirCipher b08061a
Updates compression
1ddb454
Removes autobahn output folders
SirCipher e24c00d
Fixes compression truncation issue
SirCipher 0127b55
Refactors deflate extension handling
SirCipher cd49fc2
Updates feature flags
SirCipher 8dccd2f
Adds extension header parameter parsing
SirCipher d6f4954
Adds client complete permessage-deflate implementation
SirCipher 77ffd34
Integrates permessage-deflate into servers
SirCipher 0d597fa
Fixes failing unit tests
SirCipher 0c8ae53
Tidy up
SirCipher 2be3d31
Feature-gates flate2
bd170a0
Resolves PR comments
SirCipher 15621a0
Refactors deflate extension
SirCipher 592ee86
Tidy up
SirCipher 941b3f8
Updates autobahn server example
SirCipher 4714182
Resets fragments length after fragment buffer is reset
SirCipher 31b50bf
Adds Default implementation for UncompressedExt
SirCipher 3cf0b83
Adds support for outbound message chunking
SirCipher 2744d1b
Reformat
SirCipher fcf56c3
Renames ambiguous extension type parameters
SirCipher 710be47
Changes chunk iterator to use field for chunk size
SirCipher cd43267
Merge pull request #1 from SirCipher/master
SirCipher 42e6fd8
Merge pull request #3 from snapview/master
SirCipher 8b809f7
Merge pull request #2 from SirCipher/chunked
SirCipher e71f19b
Merge pull request #4 from swimos/chunked
SirCipher 13cfb4d
Refactors extension handling
SirCipher 7795ca1
Refactors extension handling
SirCipher b658064
Splits client/server max_window_bits
SirCipher 672572e
Splits up websocket frame and extension headers
SirCipher 7795147
Updates request header parsing
SirCipher fd43b07
Updates documentation
SirCipher 31d05fb
Fixes decompression
SirCipher e0cadce
Splits client and server deflate config
SirCipher a282200
Merge branch 'master' of https://github.com/swimos/tungstenite-rs int…
SirCipher 24b7af1
Updates unit tests to check the correct headers
SirCipher 655db5b
Merge remote-tracking branch 'upstream/master' into deflate-merge
SirCipher 21aac8e
Resolves merge issues
SirCipher 2dab651
Updates tests
SirCipher a7f0702
Tidy up
SirCipher File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,5 @@ | ||
target | ||
Cargo.lock | ||
|
||
autobahn/client/* | ||
autobahn/server/* |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -58,7 +58,7 @@ Features | |
Tungstenite provides a complete implementation of the WebSocket specification. | ||
TLS is supported on all platforms using native-tls. | ||
|
||
There is no support for permessage-deflate at the moment. It's planned. | ||
Permessage-deflate. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Perhaps we can remove this line now ;) |
||
|
||
Testing | ||
------- | ||
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
BTW, do we want to rely on
zlib
? @agalakhov, what do you think?