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
1.29 and go 1.18 base + #566 (round robin dns) + #564 (revamp of build through go install module buildinfo) #560
Conversation
Code Climate has analyzed commit 82ac1bc and detected 0 issues on this pull request. View more on Code Climate. |
Codecov Report
@@ Coverage Diff @@
## master #560 +/- ##
========================================
- Coverage 87.4% 87.4% -0.0%
========================================
Files 26 26
Lines 3602 3610 +8
========================================
+ Hits 3148 3154 +6
- Misses 303 304 +1
- Partials 151 152 +1
Continue to review full report at Codecov.
|
…ake advantage of it (#564) * prep for 1.29 * adding new HTTPServerWithHandler to use in proxy * tag_name on upload needs to be trailing part * switch to go 1.18.2 - in prep for #561 * use debug.ReadBuildInfo() instead of linker time set version info * update release readme * fix windows build path * fix the release-test case by having a build vs install mode still and control through MODE= arg * allow the OFFICIAL_DIR to be determined from OFFICIAL_BIN so brew command doesn't need to change * removed DATA_DIR change support as it's not used, simplify further * Round robin dns, option to resolve ipv4/ipv6/both, timeout and other fixes (#566) * round robin fnet.resolve. fixes #557 * fix #567 only show actual threads for dns etc, #458 flag to pick ip4, ip6 or both resolve * add connect timeout to fast client. fixes #568 * use ip4 as default to avoid a bunch of test failures and failure in ip4 environment with Round Robin DNS
fnet/network.go
Outdated
@@ -59,6 +63,12 @@ var ( | |||
MaxPayloadSize = 256 * KILOBYTE | |||
// Payload that is returned during echo call. | |||
Payload []byte | |||
// Atomically incremented counter for dns resolution. | |||
dnsRoundRobin uint32 = 0xffffffff // we want the first one, after increment to be 0 | |||
// IP types to resolve. With round robin you are likely to get ipv6 which may not work |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
comment on exported var FlagResolveIPType should be of the form "FlagResolveIPType ..."
@@ -49,11 +46,23 @@ func Long() string { | |||
return longVersion | |||
} | |||
|
|||
func Full() string { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
exported function Full should have comment or be unexported
merge train with #564, #566