Skip to content

Comments

On error the encoder/decoder now emit everything it was able to decode.#454

Open
orium wants to merge 1 commit intoNullus157:mainfrom
orium:gzip-do-not-swallow-on-missing-footer
Open

On error the encoder/decoder now emit everything it was able to decode.#454
orium wants to merge 1 commit intoNullus157:mainfrom
orium:gzip-do-not-swallow-on-missing-footer

Conversation

@orium
Copy link
Contributor

@orium orium commented Feb 10, 2026

Before this we would return the error and whatever we had in our encode/decoded output buffer would be swallowed.

@orium orium force-pushed the gzip-do-not-swallow-on-missing-footer branch from 98d2873 to 31a4e72 Compare February 10, 2026 14:39
@orium orium changed the title On error the decoder now emits everything it was able to decode. [WIP] On error the decoder now emits everything it was able to decode. Feb 10, 2026
@orium orium changed the title [WIP] On error the decoder now emits everything it was able to decode. On error the decoder now emits everything it was able to decode. Feb 11, 2026
@orium orium marked this pull request as draft February 11, 2026 18:02
@orium orium force-pushed the gzip-do-not-swallow-on-missing-footer branch from 31a4e72 to 8fde492 Compare February 12, 2026 17:16
@orium
Copy link
Contributor Author

orium commented Feb 12, 2026

Blocked on #456.

@orium orium force-pushed the gzip-do-not-swallow-on-missing-footer branch from 8fde492 to e1aeab3 Compare February 13, 2026 16:21
@orium orium changed the title On error the decoder now emits everything it was able to decode. On error the encoder/decoder now emit everything it was able to decode. Feb 13, 2026
…e/decode.

Before this we would return the error and whatever we had in our encode/decoded
output buffer would be swallowed.

Fixes Nullus157#453.
@orium orium force-pushed the gzip-do-not-swallow-on-missing-footer branch from e1aeab3 to 3ccadbe Compare February 18, 2026 12:11
@orium orium marked this pull request as ready for review February 18, 2026 12:12
@orium
Copy link
Contributor Author

orium commented Feb 18, 2026

Rebased on main. Ready for review @NobodyXu.

@NobodyXu NobodyXu requested a review from robjtede February 18, 2026 15:23
Copy link
Collaborator

@NobodyXu NobodyXu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, LGTM

cc @robjtede

@orium
Copy link
Contributor Author

orium commented Feb 20, 2026

Hi @robjtede, can you take a look at this one as well please?

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