File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -918,9 +918,17 @@ ClientFactory::ClientFactory()
918918 aws_options.cryptoOptions = Aws::CryptoOptions{};
919919 aws_options.cryptoOptions .initAndCleanupOpenSSL = false ;
920920
921+ aws_options.httpOptions = Aws::HttpOptions{};
922+ aws_options.httpOptions .initAndCleanupCurl = false ;
923+ aws_options.httpOptions .httpClientFactory_create_fn = []() { return std::make_shared<PocoHTTPClientFactory>(); };
924+
925+ aws_options.loggingOptions = Aws::LoggingOptions{};
926+ aws_options.loggingOptions .logger_create_fn = []() { return std::make_shared<AWSLogger>(false ); };
927+
928+ aws_options.ioOptions = Aws::IoOptions{};
929+ aws_options.ioOptions .tlsConnectionOptions_create_fn = []() { return nullptr ; };
930+
921931 Aws::InitAPI (aws_options);
922- Aws::Utils::Logging::InitializeAWSLogging (std::make_shared<AWSLogger>(false ));
923- Aws::Http::SetHttpClientFactory (std::make_shared<PocoHTTPClientFactory>());
924932}
925933
926934ClientFactory::~ClientFactory ()
You can’t perform that action at this time.
0 commit comments