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

Rwjs/unique sids #1049

Merged
merged 26 commits into from
Mar 16, 2022
Merged

Rwjs/unique sids #1049

merged 26 commits into from
Mar 16, 2022

Conversation

robsimmonds
Copy link
Contributor

Create unique session ids even if reconnections are intermingled with new connections.

This builds on the session deletion PR from earlier today that I asked @confluence to review.

… that

a pointer to an end-of-life session can be removed from the
SessionManager session map.
Modefined the way that sessions get deleted to make sure they all get
removed from the SessionManager session map.
Made change to session deletion so that it is consistent in both cases when
a WebSocket closes and when the last OnMessageTask referencing a session
is deleted.
…ixed

the id issue so the final fix needs to go somewere else, so very much a work
in progress.
@robsimmonds robsimmonds marked this pull request as draft March 11, 2022 18:11
@robsimmonds robsimmonds marked this pull request as ready for review March 11, 2022 18:35
src/Session/SessionManager.cc Outdated Show resolved Hide resolved
src/Session/SessionManager.cc Outdated Show resolved Hide resolved
@veggiesaurus
Copy link
Collaborator

@robsimmonds does this mean we should close #1048 without merging?

@confluence
Copy link
Collaborator

@robsimmonds does this mean we should close #1048 without merging?

@angus I think that we should first merge #1048, then merge dev into this, then merge this. I'm just waiting for CI to come back.

@confluence confluence self-assigned this Mar 16, 2022
@confluence confluence merged commit 190bb6a into dev Mar 16, 2022
@confluence confluence deleted the rwjs/unique_sids branch March 16, 2022 11:00
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.

3 participants