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

Improve websocket compressed #1665

Closed
wants to merge 6 commits into from
Closed

Conversation

essen
Copy link
Member

@essen essen commented Jan 22, 2025

essen added 3 commits January 22, 2025 11:32
The function inflate/3 was moved there to make it
usable from within Cowlib itself.
Before this commit frames could "cheat" by compressing data
below the limit which would get expanded above the limit.
Now Cowboy will stop decompressing data when the limit is
reached.
@essen
Copy link
Member Author

essen commented Jan 22, 2025

Next is adding tests.

@essen essen closed this Jan 22, 2025
@essen essen deleted the improve-websocket-compressed branch January 22, 2025 14:23
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