-
Notifications
You must be signed in to change notification settings - Fork 24
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
fix: allow retries and disable ssl to co-exist #154
Conversation
4aca49c
to
4b4979f
Compare
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.
Looks really good!
Previously, the "disable ssl" and "auto retries" scenarios were mutually exclusive due to the way in which the http client instances were managed. The result was that you could not enable retries and also disable ssl verification. This commit fixes this problem by adding more precise code to configure the "disable ssl" feature and also reuses existing client instances where possible.
4b4979f
to
6dda58f
Compare
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.
Looks good! 👍
Left one small comment to address before merging but will approve to avoid the re-review
## [5.9.2](v5.9.1...v5.9.2) (2022-02-02) ### Bug Fixes * allow retries and disable ssl to co-exist ([#154](#154)) ([b16fe8d](b16fe8d))
🎉 This PR is included in version 5.9.2 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Previously, the "disable ssl" and "auto retries"
scenarios were mutually exclusive due to the way in
which the http client instances were managed.
The result was that you could not enable retries
and also disable ssl verification.
This commit fixes this problem by adding more precise
code to configure the "disable ssl" feature and
also reuses existing client instances where possible.