Skip to content

Keep the caller's receipt header on UNSUBSCRIBE - #162

Closed
mkuratczyk wants to merge 1 commit into
masterfrom
fix/unsubscribe-receipt
Closed

mkuratczyk wants to merge 1 commit into
masterfrom
fix/unsubscribe-receipt

Conversation

@mkuratczyk

Copy link
Copy Markdown
Collaborator

processLoop replaced any receipt header on an UNSUBSCRIBE frame with the subscription id. sendFrame had already registered a waiter under the caller's receipt id, so that waiter never got its RECEIPT and Unsubscribe blocked until the connection closed.

Keep the caller's receipt and, when its RECEIPT arrives, complete both the waiter and the subscription channel.

processLoop replaced any receipt header on an UNSUBSCRIBE frame with
the subscription id. sendFrame had already registered a waiter under
the caller's receipt id, so that waiter never got its RECEIPT and
Unsubscribe blocked until the connection closed.

Keep the caller's receipt and, when its RECEIPT arrives, complete
both the waiter and the subscription channel.
@Zerpet

Zerpet commented Oct 15, 2026

Copy link
Copy Markdown
Collaborator

I believe this commit is already in #161 ?

@mkuratczyk mkuratczyk closed this Oct 16, 2026
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