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

dtls re-connections #6649

Merged

Conversation

dgud
Copy link
Contributor

@dgud dgud commented Jan 10, 2023

Fixes #6160

Allow bad versions so that we can discover new connections.
Was only used to lookup if {ip,port} existed, but
we have already have the qeueu for that.
@github-actions
Copy link
Contributor

github-actions bot commented Jan 10, 2023

CT Test Results

       2 files       64 suites   44m 11s ⏱️
   745 tests    712 ✔️   33 💤 0
3 537 runs  2 862 ✔️ 675 💤 0

Results for commit 32c7b50.

♻️ This comment has been updated with latest results.

To speed up review, make sure that you have read Contributing to Erlang/OTP and that all checks pass.

See the TESTING and DEVELOPMENT HowTo guides for details about how to run test locally.

Artifacts

// Erlang/OTP Github Action Bot

@dgud dgud changed the base branch from master to maint January 10, 2023 09:26
@dgud dgud changed the title dtls re- connections/gh 6160/otp 18371 dtls re-connections Jan 10, 2023
@dgud dgud self-assigned this Jan 10, 2023
@dgud dgud requested a review from IngelaAndin January 10, 2023 09:26
@IngelaAndin IngelaAndin added the team:PS Assigned to OTP team PS label Jan 12, 2023
If a user process is listening for new connections let that handle
the "new" connection instead of re-useing the old one.

If the new connection is successfully connected, bring down the old
connection.
@dgud dgud force-pushed the dgud/ssl/dtls-multiple-connections/GH-6160/OTP-18371 branch from 32c7b50 to 44dcb4c Compare January 17, 2023 15:15
@dgud dgud merged commit cb658b9 into erlang:maint Jan 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team:PS Assigned to OTP team PS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Subsequent ssl:transport_accept() for the same IP stuck in dtls_packet_demux.erl call with infinity
3 participants