-
Notifications
You must be signed in to change notification settings - Fork 43
New unified stream manager #509
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
base: main
Are you sure you want to change the base?
Conversation
| || connectionManagerOptions.getTlsContext() != null) && priorKnowledge) { | ||
| URI uri = connectionManagerOptions.getUri(); | ||
| boolean useTls = HTTPS.equals(uri.getScheme()); | ||
| if (useTls && priorKnowledge) { |
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.
is this java only limitation? should we check it on native side instead?
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.
we do check it in C. I think this is for checking the options in java so that it can throw a better exceptions directly in Java?
Looks like it was the pattern we used in the connection managers as well. https://github.com/awslabs/aws-crt-java/pull/436/changes#diff-cf32dbe053c97dc09c87d3363e5234d15462c8d60baefda59cd8c6bdcba4db6e
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.