Skip to content

keep the bytes a decoder read when it rejects the body - #859

Merged
Mzack9999 merged 1 commit into
mainfrom
fix/decode-fallback-bytes
Nov 21, 2026
Merged

Mzack9999 merged 1 commit into
mainfrom
fix/decode-fallback-bytes

Conversation

@dogancanbakir

Copy link
Copy Markdown
Member

Fixes #858

Records what the decoder reads during setup and replays it when the decoder rejects the body. Recording stops once it accepts. Chains keeping raw bytes already fell back correctly.

@dogancanbakir dogancanbakir self-assigned this Nov 21, 2026
@Mzack9999
Mzack9999 merged commit c19a5b9 into main Nov 21, 2026
6 checks passed
@Mzack9999
Mzack9999 deleted the fix/decode-fallback-bytes branch November 21, 2026 17:54
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.

Undecodable body loses the bytes the decoder read

2 participants