@@ -142,7 +142,8 @@ AWSClient::AWSClient(const Aws::Client::ClientConfiguration& configuration,
142142 m_userAgentInterceptor{Aws::MakeShared<smithy::client::UserAgentInterceptor>(AWS_CLIENT_LOG_TAG, configuration, m_retryStrategy->GetStrategyName (), m_serviceName)},
143143 m_interceptors{Aws::MakeShared<smithy::client::ChecksumInterceptor>(AWS_CLIENT_LOG_TAG), Aws::MakeShared<smithy::client::features::ChunkingInterceptor>(AWS_CLIENT_LOG_TAG, [&configuration, this ]() {
144144 ClientConfiguration chunkingConfig = configuration;
145- chunkingConfig.httpClientChunkedMode = m_httpClient->IsDefaultAwsHttpClient () ? configuration.httpClientChunkedMode : Aws::Client::HttpClientChunkedMode::CLIENT_IMPLEMENTATION;
145+ chunkingConfig.httpClientChunkedMode = m_httpClient->IsDefaultAwsHttpClient () ?
146+ Aws::Client::HttpClientChunkedMode::DEFAULT : configuration.httpClientChunkedMode ;
146147 return chunkingConfig;
147148 }()), m_userAgentInterceptor}
148149{
@@ -172,7 +173,8 @@ AWSClient::AWSClient(const Aws::Client::ClientConfiguration& configuration,
172173 m_userAgentInterceptor{Aws::MakeShared<smithy::client::UserAgentInterceptor>(AWS_CLIENT_LOG_TAG, configuration, m_retryStrategy->GetStrategyName (), m_serviceName)},
173174 m_interceptors{Aws::MakeShared<smithy::client::ChecksumInterceptor>(AWS_CLIENT_LOG_TAG, configuration), Aws::MakeShared<smithy::client::features::ChunkingInterceptor>(AWS_CLIENT_LOG_TAG, [&configuration, this ]() {
174175 ClientConfiguration chunkingConfig = configuration;
175- chunkingConfig.httpClientChunkedMode = m_httpClient->IsDefaultAwsHttpClient () ? configuration.httpClientChunkedMode : Aws::Client::HttpClientChunkedMode::CLIENT_IMPLEMENTATION;
176+ chunkingConfig.httpClientChunkedMode = m_httpClient->IsDefaultAwsHttpClient () ?
177+ Aws::Client::HttpClientChunkedMode::DEFAULT : configuration.httpClientChunkedMode ;
176178 return chunkingConfig;
177179 }()), m_userAgentInterceptor}
178180{
0 commit comments