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

Fix missing unsubscribe frames for optimistic subscriptions #274

Closed

Conversation

ThisIsEsh
Copy link
Contributor

Right now centrifuge does not send unsubscribe frames if unsubscribe happens between client and server connect frames, but there might be subscribe frames in the same batch with connect frame.

This leads to situation when server have channel in it's registry, but client think that there's no such subscription for channel. If client will try to subscribe to this channel again, it will receive already subscribed error from server.

…cription happened between client and server connect frame
@FZambia
Copy link
Member

FZambia commented Apr 1, 2024

@ThisIsEsh hello! I can imagine how much debugging required for finding this. Many thanks. I reproduced locally – could you please review the alternative approach to fix this: #275 ?

@FZambia
Copy link
Member

FZambia commented Apr 6, 2024

Closing in favour of #278

@FZambia FZambia closed this Apr 6, 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.

2 participants