Skip to content

Commit bcfda6e

Browse files
committed
reversing logic to check for chunked mode
1 parent dd2cfec commit bcfda6e

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/aws-cpp-sdk-core/source/client/ClientConfiguration.cpp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -220,10 +220,7 @@ void setLegacyClientConfigurationParameters(ClientConfiguration& clientConfig)
220220
clientConfig.writeRateLimiter = nullptr;
221221
clientConfig.readRateLimiter = nullptr;
222222
clientConfig.httpLibOverride = Aws::Http::TransferLibType::DEFAULT_CLIENT;
223-
224-
// Users can explicitly set CLIENT_IMPLEMENTATION if their custom client handles chunking
225-
clientConfig.httpClientChunkedMode = HttpClientChunkedMode::DEFAULT;
226-
223+
clientConfig.httpClientChunkedMode = HttpClientChunkedMode::CLIENT_IMPLEMENTATION;
227224
clientConfig.followRedirects = FollowRedirectsPolicy::DEFAULT;
228225
clientConfig.disableExpectHeader = false;
229226
clientConfig.enableClockSkewAdjustment = true;

0 commit comments

Comments
 (0)