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

Concurrently dial and listen dtls #260

Merged
merged 6 commits into from
Nov 13, 2023
Merged

Concurrently dial and listen dtls #260

merged 6 commits into from
Nov 13, 2023

Conversation

mingyech
Copy link
Collaborator

For DTLS, concurrently dial and listen and use which ever completes the handshake first, instead of waiting 5 seconds for listen and then falling back to dial.

@mingyech mingyech marked this pull request as ready for review November 10, 2023 18:05
Copy link
Member

@jmwample jmwample left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, just error wrapping for potential downstream handling

pkg/transports/connecting/dtls/client.go Outdated Show resolved Hide resolved
@jmwample jmwample merged commit c4f2d96 into master Nov 13, 2023
10 checks passed
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