@@ -140,12 +140,8 @@ AWSClient::AWSClient(const Aws::Client::ClientConfiguration& configuration,
140140 m_enableClockSkewAdjustment(configuration.enableClockSkewAdjustment),
141141 m_requestCompressionConfig(configuration.requestCompressionConfig),
142142 m_userAgentInterceptor{Aws::MakeShared<smithy::client::UserAgentInterceptor>(AWS_CLIENT_LOG_TAG, configuration, m_retryStrategy->GetStrategyName (), m_serviceName)},
143- m_interceptors{Aws::MakeShared<smithy::client::ChecksumInterceptor>(AWS_CLIENT_LOG_TAG), Aws::MakeShared<smithy::client::features::ChunkingInterceptor>(AWS_CLIENT_LOG_TAG, [&configuration, this ]() {
144- ClientConfiguration chunkingConfig = configuration;
145- chunkingConfig.httpClientChunkedMode = m_httpClient->IsDefaultAwsHttpClient () ?
146- Aws::Client::HttpClientChunkedMode::DEFAULT : configuration.httpClientChunkedMode ;
147- return chunkingConfig;
148- }()), m_userAgentInterceptor}
143+ m_interceptors{Aws::MakeShared<smithy::client::ChecksumInterceptor>(AWS_CLIENT_LOG_TAG), Aws::MakeShared<smithy::client::features::ChunkingInterceptor>(AWS_CLIENT_LOG_TAG,
144+ m_httpClient->IsDefaultAwsHttpClient () ? Aws::Client::HttpClientChunkedMode::DEFAULT : configuration.httpClientChunkedMode ), m_userAgentInterceptor}
149145{
150146}
151147
@@ -171,12 +167,8 @@ AWSClient::AWSClient(const Aws::Client::ClientConfiguration& configuration,
171167 m_enableClockSkewAdjustment(configuration.enableClockSkewAdjustment),
172168 m_requestCompressionConfig(configuration.requestCompressionConfig),
173169 m_userAgentInterceptor{Aws::MakeShared<smithy::client::UserAgentInterceptor>(AWS_CLIENT_LOG_TAG, configuration, m_retryStrategy->GetStrategyName (), m_serviceName)},
174- m_interceptors{Aws::MakeShared<smithy::client::ChecksumInterceptor>(AWS_CLIENT_LOG_TAG, configuration), Aws::MakeShared<smithy::client::features::ChunkingInterceptor>(AWS_CLIENT_LOG_TAG, [&configuration, this ]() {
175- ClientConfiguration chunkingConfig = configuration;
176- chunkingConfig.httpClientChunkedMode = m_httpClient->IsDefaultAwsHttpClient () ?
177- Aws::Client::HttpClientChunkedMode::DEFAULT : configuration.httpClientChunkedMode ;
178- return chunkingConfig;
179- }()), m_userAgentInterceptor}
170+ m_interceptors{Aws::MakeShared<smithy::client::ChecksumInterceptor>(AWS_CLIENT_LOG_TAG, configuration), Aws::MakeShared<smithy::client::features::ChunkingInterceptor>(AWS_CLIENT_LOG_TAG,
171+ m_httpClient->IsDefaultAwsHttpClient () ? Aws::Client::HttpClientChunkedMode::DEFAULT : configuration.httpClientChunkedMode ), m_userAgentInterceptor}
180172{
181173}
182174
0 commit comments