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

fix(enginenetx): refine the happy-eyeballs algorithm #1296

Merged
merged 2 commits into from
Sep 22, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
x
  • Loading branch information
bassosimone committed Sep 22, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit 09835745008770847e25759e3fcfe6a74b284d28
1 change: 1 addition & 0 deletions internal/enginenetx/happyeyeballs_test.go
Original file line number Diff line number Diff line change
@@ -15,6 +15,7 @@ func TestHappyEyeballsDelay(t *testing.T) {
const delay = 900 * time.Millisecond

cases := []testcase{
{-1, 0}, // make sure we gracefully handle negative numbers (i.e., we don't crash)
{0, 0},
{1, delay},
{2, delay * 2},