Skip to content

fix(upstream): retry a stream:false body cut after the 200 header - #2

Merged
Rethinger merged 1 commit into
masterfrom
fix/stream-false-cut-body
Oct 13, 2026
Merged

Rethinger merged 1 commit into
masterfrom
fix/stream-false-cut-body

Conversation

@Rethinger

Copy link
Copy Markdown
Owner

No description provided.

A buffered answer whose body broke off ("unexpected EOF") after upstream sent
200 reached the client as HTTP 200 with {"error":...}, so clients never
retried it. Nothing is committed downstream yet, so the loop now treats it like
a far-end 502: a proof row ("body cut: ..."), another lane, bounded by two
passes over the lanes. Raw never returns an error with a 2xx status.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_0114ctFPvApF82aPYWBsVHf2
@Rethinger
Rethinger merged commit 2dd1315 into master Oct 13, 2026
1 check passed
@Rethinger
Rethinger deleted the fix/stream-false-cut-body branch October 13, 2026 04: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.

1 participant