-
Notifications
You must be signed in to change notification settings - Fork 127
Better connectivity check for DefaultResolvers #453
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
Closed
Closed
Changes from 16 commits
Commits
Show all changes
38 commits
Select commit
Hold shift + click to select a range
2b1461f
changed checkIPv6Connectivity to use goroutines and started adding tests
BPplays 68cb76d
made checkIPv6Connectivity more generic and changed name to checkConn…
BPplays a899c79
better discription of checkConnectivity
BPplays 24ec3bc
check if both ipv6 and ipv4 are available and fallback to both if doe…
BPplays d01fbad
added discription of IPv4Resolvers
BPplays 2a1c9ee
cleaned up comment that made no sense
BPplays 8026ce2
changed discription of init()
BPplays ecc0155
fix missing wg.Done()
BPplays b522f26
better var name
BPplays fd0b3fc
defer con close right after dial
BPplays f6627ac
simplified comparison
BPplays 2d5aa55
just realised probably don't need multiple host checks for udp, prob …
BPplays d2b0d06
give func better name
BPplays 134f05d
give func better doc
BPplays a28f4a1
fix test not added; new tests; change port to show it's not doing a d…
BPplays b3e6ac3
made func for test panic if err, and changed name
BPplays 557f338
test code formatting
BPplays 1748d28
changed checkIPv6Connectivity to use goroutines and started adding tests
BPplays b3ce9d1
made checkIPv6Connectivity more generic and changed name to checkConn…
BPplays b5e6687
better discription of checkConnectivity
BPplays e8ed7f8
check if both ipv6 and ipv4 are available and fallback to both if doe…
BPplays d594df6
added discription of IPv4Resolvers
BPplays d3eaf13
cleaned up comment that made no sense
BPplays 804212d
changed discription of init()
BPplays 753626c
fix missing wg.Done()
BPplays 7fb4098
better var name
BPplays 948e917
defer con close right after dial
BPplays d31a8a4
simplified comparison
BPplays a6da2b9
just realised probably don't need multiple host checks for udp, prob …
BPplays a772556
give func better name
BPplays 50f9c27
give func better doc
BPplays a1187a5
fix test not added; new tests; change port to show it's not doing a d…
BPplays e5e7d90
made func for test panic if err, and changed name
BPplays a96c0a1
test code formatting
BPplays 3225867
Merge branch 'better_conn_check' of github.com:BPplays/cdncheck into …
BPplays 0479207
added new test and better goroutine
BPplays 48a1123
revert diff port test, may be more valuble to make sure can bind to u…
BPplays 01eeef7
fix not saved for last commit
BPplays File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.