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

Previously deleted session is still hanging there #69

Closed
cuttlefishi opened this issue Oct 25, 2023 · 0 comments
Closed

Previously deleted session is still hanging there #69

cuttlefishi opened this issue Oct 25, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@cuttlefishi
Copy link
Contributor

session_statuses.delete(key);
session_ipids.delete(key);
session_sack_deadlines.delete(key);
session_pafren_expirations.delete(key);
let addr = clients_sessions.get(key);
clients_sessions.delete(addr);
session_clients.delete(key);

Somehow, the session is still there (the deletion is not complete).

Because, if(clients_sessions.has(json_object.command.from)) {

can still find the previously deleted session

Then, it will call: console.log("XLOG: [2] set session to CLOSED");

set the deleted session again to CLOSED.

@cuttlefishi cuttlefishi added the bug Something isn't working label Oct 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants