-
Notifications
You must be signed in to change notification settings - Fork 201
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
enable hyper1 behind BMV #3973
enable hyper1 behind BMV #3973
Conversation
A new generated diff is ready to view.
A new doc preview is ready to view. |
A new generated diff is ready to view.
A new doc preview is ready to view. |
A new generated diff is ready to view.
A new doc preview is ready to view. |
A new generated diff is ready to view.
A new doc preview is ready to view. |
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.
Overall LGTM. I still think it is probably worth adding a README entry to the generated SDKs (or maybe just aws-config
?) explaining the interplay between the feature flags and the BMV, but that isn't a blocker for merging to the feature branch.
Agreed. I'm working on customer messaging as next step and will seek feedback from team of course. |
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.
LGTM!
// TODO(hyper1): disable rustls as a default feature in future release | ||
// NOTE: We enable both rustls and default-https-client as default features. This keeps the legacy hyper+rustls | ||
// stack working as is and lets BehaviorVersion control which client you get. In a future release we will | ||
// break this and disable the rustls feature by default (and break old BMV versions w.r.t http client default). |
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.
Like the description 👍
Motivation and Context
Description
Follow up to #3939 to change how we enable hyper1 as the default.
default-https-client
) and restores therustls
feature to mean what it did before. Both will remain enabled asdefault
features for some undetermined amount of time with the intent to removerustls
as a default feature as a breaking change in the future.default-https-client
. This new flag when enabled and the appropriate min BMV is set will result in the new HTTPS stack being the default for clients. Otherwise we fallback to the old behavior (still requiresrustls
andconnector-hyper-0-14
features enabled)By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.