Skip to content

Update flow control credit when inbound stream data is abandoned - #158

Open
tfpauly wants to merge 1 commit into
mainfrom
tfp/discarded-inbound-bytes
Open

tfpauly wants to merge 1 commit into
mainfrom
tfp/discarded-inbound-bytes

Conversation

@tfpauly

@tfpauly tfpauly commented Sep 17, 2026

Copy link
Copy Markdown
Collaborator

Ensure that flow control credit doesn't get lost/dropped if a stream is forcibly closed before the application has read the outstanding data

@tfpauly
tfpauly requested review from josephnoir and rnro September 17, 2026 19:52
@tfpauly tfpauly added the 🔨 semver/patch No public API change. label Sep 17, 2026
// the request and let the ACK path flush once its borrow has ended.
if isProcessingAcks {
deferredSendFramesRequested = true
return false

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

So there must have been an overlapping access with Recovery here?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Confirmed that this was a defensive check

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🔨 semver/patch No public API change.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants