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

Add RTP17g1 (no id in auto-re-enter if connid has changed) #215

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

SimonWoolf
Copy link
Member

This was a mistake in the protocol v2 spec. The id is included in the re-enter so that the server can tell that this is an auto-re-enter (and so does not represent a channel in the presence data), and so is safe to idempotent-dedup if it's already in the presence set. But if the connectionId has changed then it's not the same member.

(Not actually that big a deal, since it's a different member then it won't be deduped anyway, the deduping logic only applies if the memberKey is already present. But still, it's wrong to have the same msgId)

This was a mistake in the protocol v2 spec. The id is included in the
re-enter so that the server can tell that this is an auto-re-enter (and
so does not represent a channel in the presence data), and so is safe to
idempotent-dedup if it's already in the presence set. But if the
connectionId has changed then it's not the same member.

(Not actually that big a deal, since it's a different member then it
won't be deduped anyway, the deduping logic only applies if the
memberKey is already present. But still, it's wrong to have the same
msgId)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant