Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error code for announce cancel #522

Merged
merged 2 commits into from
Sep 16, 2024
Merged

Error code for announce cancel #522

merged 2 commits into from
Sep 16, 2024

Conversation

suhasHere
Copy link
Collaborator

fixes #412

Copy link
Collaborator

@afrind afrind left a comment

Choose a reason for hiding this comment

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

lgtm

Copy link
Collaborator

@ianswett ianswett left a comment

Choose a reason for hiding this comment

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

LG, but I noticed:
"If a publisher receives new subscriptions for that namespace after
receiving an ANNOUNCE_CANCEL, it SHOULD close the session as a
'Protocol Violation'."

I believe that's racy, because the SUBSCRIBE and ANNOUNCE_CANCEL can be inflight at the same time?
Also, shouldn't it be "after sending an ANNOUNCE_CANCEL", or am I misunderstanding the text?

@ianswett ianswett merged commit a8ffcfe into main Sep 16, 2024
2 checks passed
@ianswett ianswett mentioned this pull request Sep 21, 2024
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.

ANNOUNCE_CANCEL is missing a code/reason
3 participants