feat: enable premessage-deflate for websockets#10966
Merged
apanasenko-oai merged 20 commits intomainfrom Feb 8, 2026
Merged
Conversation
viyatb-oai
approved these changes
Feb 7, 2026
Collaborator
viyatb-oai
left a comment
There was a problem hiding this comment.
network proxy change is good if the build and tests pass
681bfda to
9507404
Compare
c5ce5de to
0d88589
Compare
joshka-oai
approved these changes
Feb 7, 2026
Comment on lines
+219
to
+226
| fn websocket_config() -> WebSocketConfig { | ||
| let mut extensions = ExtensionsConfig::default(); | ||
| extensions.permessage_deflate = Some(DeflateConfig::default()); | ||
|
|
||
| let mut config = WebSocketConfig::default(); | ||
| config.extensions = extensions; | ||
| config | ||
| } |
Collaborator
There was a problem hiding this comment.
nit: Might be useful to capture why we're doing this, what we measured, how we know deflate is right here (if there's any context to add)
d319ddc to
2a82071
Compare
2a82071 to
0b5012a
Compare
bolinfest
approved these changes
Feb 7, 2026
ff86b9b to
ca02963
Compare
Collaborator
|
Related: #11294 |
This file contains hidden or 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
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
note:
unfortunately, tokio-tungstenite / tungstenite upgrade triggers some problems with linker of rama-tls-boring with openssl:
that force me to migrate away from rama-tls-boring to rama-tls-rustls and pin
ringfor rustls.