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

Asynchronous TCP Session Closure Causes New Session to Close #634

Closed
jkralik opened this issue Jun 15, 2024 · 0 comments · Fixed by #627
Closed

Asynchronous TCP Session Closure Causes New Session to Close #634

jkralik opened this issue Jun 15, 2024 · 0 comments · Fixed by #627
Assignees
Labels
bug Something isn't working

Comments

@jkralik
Copy link
Member

jkralik commented Jun 15, 2024

Description

Currently, closing the TCP session is asynchronous. This leads to a situation where when the event thread closes a TCP-TLS session and then creates a new one for the same session, the asynchronous event indicating that the TCP session has closed causes the new session to also close. This issue arises because we are unable to distinguish between the old and new sessions.

Steps to Reproduce

  1. Close a TCP-TLS session asynchronously.
  2. Immediately create a new TCP-TLS session for the same connection.
  3. Observe that the new session is closed unexpectedly due to the asynchronous event from the old session closure.

Expected Behavior

The new TCP-TLS session should remain open and not be affected by the asynchronous closure event of the old session.

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

Successfully merging a pull request may close this issue.

1 participant