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

Support zero-length compressed request and response messages on Node.js #893

Merged
merged 2 commits into from
Oct 31, 2023

Conversation

timostamm
Copy link
Member

@timostamm timostamm commented Oct 31, 2023

This supports the edge case of a request or response message that is ostensibly compressed, but has a length of zero (pre de-compression).

Clients or servers from the repository have never produced such a payload, but it is possible that others do, and we should handle the case gracefully.

@timostamm timostamm changed the title Support zero-length compressed request and response messages Support zero-length compressed request and response messages on Node.js Oct 31, 2023
@timostamm timostamm merged commit 623a6d1 into main Oct 31, 2023
4 checks passed
@timostamm timostamm deleted the tstamm/compress-zero branch October 31, 2023 21:08
This was referenced Dec 1, 2023
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.

None yet

2 participants