Skip to content

Avoid sending acks after channel.close/close-ok - #108

Merged
michalovits merged 2 commits into
bloomberg:mainfrom
michalovits:ack-after-close
Nov 5, 2026
Merged

michalovits merged 2 commits into
bloomberg:mainfrom
michalovits:ack-after-close

Conversation

@michalovits

Copy link
Copy Markdown
Contributor

We shouldn't send acks illegally once we've acknowledged a channel.close or sent our own. That destroys the entire connection.

  • Seal the ack batch
  • Before iterating over it, check that the channel isn't closed or closing
  • Avoid sending the ack batch if the channel is closed or closing

@michalovits
michalovits enabled auto-merge (squash) November 5, 2026 12:47
@michalovits
michalovits merged commit 808554f into bloomberg:main Nov 5, 2026
4 checks 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