Skip to content

Finish subrequest fork stream eagerly - #5

Merged
addykan merged 2 commits into
richard/lossy-subrequestfrom
adhvik/subrequests/finish-fork-eagerly
Jul 29, 2026
Merged

Finish subrequest fork stream eagerly#5
addykan merged 2 commits into
richard/lossy-subrequestfrom
adhvik/subrequests/finish-fork-eagerly

Conversation

@addykan

@addykan addykan commented Jul 29, 2026

Copy link
Copy Markdown

For short/small requests, the subrequest's body fork stream is unlikely to be polled a second time before the original request is dropped - this aborts the subrequest even though it has received all of the data necessary. This PR updates the body fork sender logic to eagerly finish the subrequest as soon as all of the necessary data has been sent to the body fork receiver.

@addykan
addykan merged commit f061f89 into richard/lossy-subrequest Jul 29, 2026
1 check passed
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