update default value to true for the SDK CurlTransportSSLOptions -> NoRevoke (#1181)

fixes: #1101
This commit is contained in:
Victor Vazquez 2020-12-14 17:01:12 -08:00 committed by GitHub
parent ca9b28f53b
commit 0b9befe13d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 1 deletions

View File

@ -10,6 +10,7 @@
- Removed `DateTime::operator Duration()`.
- Moved `Azure::Core::BearerTokenAuthenticationPolicy`, defined in `azure/core/credentials.hpp` to `Azure::Core::Http` namespace in `azure/core/http/policy.hpp` header.
- Changed default option `NoRevoke` from `CurlTransportSSLOptions` for the `CurlTransportOptions` to `true`. This disables the revocation list checking by default.
## 1.0.0-beta.3 (2020-11-11)

View File

@ -26,7 +26,15 @@ namespace Azure { namespace Core { namespace Http {
struct CurlTransportSSLOptions
{
bool AllowBeast = false;
bool NoRevoke = false;
/**
* @brief This option can disable the revocation list check.
*
* @remark Libcurl does revocation list check by default for ssl backends that supports this
* feature. However, the Azure SDK overrides libcurl's behavior and disables the revocation list
* check by default.
*
*/
bool NoRevoke = true;
};
/**