Skip to content

client: fix handling of GRPC_GO_REQUIRE_HANDSHAKE=on to not interpret as "hybrid"#2603

Merged
dfawley merged 1 commit intogrpc:masterfrom
dntj:master
Jan 29, 2019
Merged

client: fix handling of GRPC_GO_REQUIRE_HANDSHAKE=on to not interpret as "hybrid"#2603
dfawley merged 1 commit intogrpc:masterfrom
dntj:master

Conversation

@dntj
Copy link
Copy Markdown
Contributor

@dntj dntj commented Jan 29, 2019

6cc789b made envconfig.RequireHandshakeOn the default when unspecified by environment variable, but missed a fallthrough leading to GRPC_GO_REQUIRE_HANDSHAKE=on specifying envconfig.RequireHandshakeHybrid. This change adds the missing fallthrough.

6cc789b made `envconfig.RequireHandshakeOn` the default when unspecified by environment variable, but missed a fallthrough leading to `GRPC_GO_REQUIRE_HANDSHAKE=on` specifying `envconfig.RequireHandshakeHybrid`.
@thelinuxfoundation
Copy link
Copy Markdown

Thank you for your pull request. Before we can look at your contribution, we need to ensure all contributors are covered by a Contributor License Agreement.

After the following items are addressed, please respond with a new comment here, and the automated system will re-verify.

Regards,
CLA GitHub bot

@dfawley dfawley self-assigned this Jan 29, 2019
@dfawley dfawley self-requested a review January 29, 2019 22:51
@dfawley dfawley added this to the 1.19 Release milestone Jan 29, 2019
@dfawley dfawley changed the title fix: envconfig.RequireHandshake initialization when on. client: fix handling of GRPC_GO_REQUIRE_HANDSHAKE=on to not interpret as "hybrid" Jan 29, 2019
Copy link
Copy Markdown
Member

@dfawley dfawley left a comment

Choose a reason for hiding this comment

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

Good catch, thank you for the fix. Please sign the CLAs so we can merge this.

EDIT: looks like the CLA bot is happy now. Thanks again.

@dfawley dfawley merged commit eda3b7e into grpc:master Jan 29, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Jul 28, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants