Skip to content

fix: dont close zlib stream manually#1064

Merged
ccbblin merged 1 commit intomasterfrom
fix/dont-close-zlib-stream-manually
Nov 4, 2025
Merged

fix: dont close zlib stream manually#1064
ccbblin merged 1 commit intomasterfrom
fix/dont-close-zlib-stream-manually

Conversation

@ccbblin
Copy link
Copy Markdown
Contributor

@ccbblin ccbblin commented Nov 2, 2025

Motivation

fix unzipping issues:

stack: Error: unexpected end of file
    at genericNodeError (node:internal/errors:983:15)
    at wrappedFn (node:internal/errors:537:14)
    at Zlib.zlibOnError [as onerror] (node:zlib:190:17)

Modification

unzipper(zlib) decompression error as it tried to decompress data that was incomplete due to manual stream closing

@ccbblin ccbblin requested a review from a team as a code owner November 2, 2025 23:31
@ccbblin ccbblin requested review from Wentao-Kuang and tawera-manaena and removed request for a team November 2, 2025 23:31
@ccbblin ccbblin added this pull request to the merge queue Nov 4, 2025
Merged via the queue into master with commit 7669a84 Nov 4, 2025
2 checks passed
@ccbblin ccbblin deleted the fix/dont-close-zlib-stream-manually branch November 4, 2025 21:14
github-merge-queue bot pushed a commit that referenced this pull request Nov 4, 2025
🤖 I have created a release *beep* *boop*
---


## [0.3.3](v0.3.2...v0.3.3)
(2025-11-04)


### Bug Fixes

* dont close zlib stream manually
([#1064](#1064))
([7669a84](7669a84))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants