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

remote: grpcs (grpc+tls) is used by default for remote URLs #8456

Closed

Conversation

ishikhman
Copy link
Contributor

RELNOTES: --remote_executor, --remote_cache or --bes_backend=someurl.com would be treated as grpcs://someurl.com, if the --incompatible_tls_enabled_removed flag enabled. See #8061 for details.

…cheme prefix

RELNOTES: --remote_executor, --remote_cache or --bes_backend=someurl.com would be treated as grpcs://someurl.com, if the --incompatible_tls_enabled_removed flag enabled. See bazelbuild#8061 for details.
@ishikhman ishikhman marked this pull request as ready for review May 24, 2019 10:51
@@ -91,6 +91,10 @@ private static boolean isTlsEnabled(String target, AuthAndTLSOptions options) {
if (options.incompatibleTlsEnabledRemoved && options.tlsEnabled) {
throw new IllegalArgumentException("flag --tls_enabled was not found");
}
if (options.incompatibleTlsEnabledRemoved) {
// 'grpcs://' or empty prefix => TLS-enabled
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe expand the comment on empty prefix a bit?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

@buchgr
Copy link
Contributor

buchgr commented May 24, 2019

That's great! Thanks!

@buchgr
Copy link
Contributor

buchgr commented May 24, 2019

LGTM

@bazel-io bazel-io closed this in d482596 Jun 3, 2019
irengrig pushed a commit to irengrig/bazel that referenced this pull request Jun 18, 2019
RELNOTES: --remote_executor, --remote_cache or --bes_backend=someurl.com would be treated as grpcs://someurl.com, if the --incompatible_tls_enabled_removed flag enabled. See bazelbuild#8061 for details.

Closes bazelbuild#8456.

PiperOrigin-RevId: 251199122
irengrig pushed a commit to irengrig/bazel that referenced this pull request Jul 15, 2019
RELNOTES: --remote_executor, --remote_cache or --bes_backend=someurl.com would be treated as grpcs://someurl.com, if the --incompatible_tls_enabled_removed flag enabled. See bazelbuild#8061 for details.

Closes bazelbuild#8456.

PiperOrigin-RevId: 251199122
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.

3 participants