Skip to content

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

Merged
timostamm merged 2 commits intomainfrom
tstamm/compress-zero
Oct 31, 2023
Merged

Support zero-length compressed request and response messages on Node.js#893
timostamm merged 2 commits intomainfrom
tstamm/compress-zero

Conversation

@timostamm
Copy link
Copy Markdown
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
@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.

2 participants