Skip to content
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

Deflate support on chunked responses #421

Merged
merged 3 commits into from
Nov 18, 2024

Conversation

mtrudel
Copy link
Owner

@mtrudel mtrudel commented Nov 15, 2024

Adds support for deflating chunked responses. Consists of a refactor to first break apart the existing compression routines such that the constituent stages can be called separately throughout the lifecycle of a chunked response, and then using these new routines within chunked responses.

Only deflate is supported on responses

@mtrudel mtrudel merged commit f16b4c3 into main Nov 18, 2024
27 checks passed
@mtrudel mtrudel deleted the deflate_support_on_chunked_responses branch November 18, 2024 15:14
@mtrudel mtrudel restored the deflate_support_on_chunked_responses branch November 18, 2024 16:31
@mtrudel
Copy link
Owner Author

mtrudel commented Nov 18, 2024

Backed this out of main/1.6.0 since there are reports of it breaking. Will re-open and fix

@mtrudel
Copy link
Owner Author

mtrudel commented Nov 18, 2024

It seems that this PR sends content-encoding headers on the 101 Switching Protocols during websocket upgrades. Details here #422 (comment)

@mtrudel
Copy link
Owner Author

mtrudel commented Nov 18, 2024

Reopened as #429

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant