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

1.29 and go 1.18 base + #566 (round robin dns) + #564 (revamp of build through go install module buildinfo) #560

Merged
merged 6 commits into from May 13, 2022

Conversation

ldemailly
Copy link
Member

@ldemailly ldemailly commented May 8, 2022

merge train with #564, #566

@codeclimate
Copy link

codeclimate bot commented May 8, 2022

Code Climate has analyzed commit 82ac1bc and detected 0 issues on this pull request.

View more on Code Climate.

@codecov
Copy link

codecov bot commented May 8, 2022

Codecov Report

Merging #560 (82ac1bc) into master (d7c6830) will decrease coverage by 0.0%.
The diff coverage is 100.0%.

@@           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     
Impacted Files Coverage Δ
dflag/dynstringset.go 95.8% <100.0%> (ø)
fhttp/http_client.go 83.7% <100.0%> (+<0.1%) ⬆️
fhttp/http_server.go 80.7% <100.0%> (-0.6%) ⬇️
fhttp/httprunner.go 85.7% <100.0%> (+0.1%) ⬆️
fnet/network.go 88.7% <100.0%> (+0.1%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d7c6830...82ac1bc. Read the comment docs.

@ldemailly ldemailly changed the title prep for 1.29 prep for 1.29, go 1.18 May 13, 2022
…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
Copy link

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 {
Copy link

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

@ldemailly ldemailly changed the title prep for 1.29, go 1.18 prep for 1.29, go 1.18 + #566 (round robin dns) + #564 (revamp of build through go install module buildinfo) May 13, 2022
@ldemailly ldemailly changed the title prep for 1.29, go 1.18 + #566 (round robin dns) + #564 (revamp of build through go install module buildinfo) 1.29 and go 1.18 base + #566 (round robin dns) + #564 (revamp of build through go install module buildinfo) May 13, 2022
@ldemailly ldemailly merged commit 4151480 into master May 13, 2022
@ldemailly ldemailly deleted the 1_29 branch May 13, 2022 22:53
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.

None yet

1 participant