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

Implement unencrypted ndt7 (+other maintainance changes) #31

Merged
merged 5 commits into from
Dec 12, 2019

Conversation

bassosimone
Copy link
Contributor

@bassosimone bassosimone commented Dec 5, 2019

This change is Reviewable

@bassosimone bassosimone self-assigned this Dec 5, 2019
Copy link
Contributor

@pboothe pboothe left a comment

Choose a reason for hiding this comment

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

Reviewed 5 of 6 files at r1.
Reviewable status: 1 change requests, 0 of 1 approvals obtained (waiting on @bassosimone and @pboothe)


cmd/ndt7-client/main.go, line 98 at r1 (raw file):

	flagNoVerify = flag.Bool("no-verify", false, "skip TLS certificate verification")
	flagHostname = flag.String("hostname", "", "optional ndt7 server hostname")
	flagScheme   = flag.String(

Consider making this a custom flag type to ensure that the scheme can only be one of the specified legal values?

@pboothe
Copy link
Contributor

pboothe commented Dec 6, 2019

Added one comment. If you don't want to do it, let me know and I will approve this PR.

Copy link
Contributor Author

@bassosimone bassosimone left a comment

Choose a reason for hiding this comment

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

Reviewable status: 1 change requests, 0 of 1 approvals obtained (waiting on @pboothe)


cmd/ndt7-client/main.go, line 98 at r1 (raw file):

Previously, pboothe (Peter Boothe) wrote…

Consider making this a custom flag type to ensure that the scheme can only be one of the specified legal values?

Good idea! I'll try to use github.com/m-lab/flagx for this purpose!

Allows to narrow down the allowed values to ws and wss
as suggested by @pboothe during the review.
Copy link
Contributor

@pboothe pboothe left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewable status: 1 change requests, 0 of 1 approvals obtained

Copy link
Contributor

@pboothe pboothe left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewable status: :shipit: complete! 1 of 1 approvals obtained

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants