Skip to content

Commit 86518de

Browse files
committed
added logic to detect custom http client
1 parent 2f425ed commit 86518de

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/aws-cpp-sdk-core-tests/utils/stream/ChunkingInterceptorTest.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ class ChunkingInterceptorTest : public Aws::Testing::AwsCppSdkGTestSuite {
2121
StandardHttpRequest request{"test.com", Http::HttpMethod::HTTP_GET};
2222
auto requestHash = Aws::MakeShared<CRC32>(CHUNKING_TEST_LOG_TAG);
2323
request.SetRequestHash("crc32", requestHash);
24-
auto inputStream = Aws::MakeShared<Aws::StringStream>(CHUNKING_TEST_LOG_TAG, input);
24+
auto inputStream = Aws::MakeShared<Aws::StringStream>(CHUNKING_TEST_LOG_TAG);
25+
*inputStream << input;
2526

2627
AwsChunkedIOStream wrapper{&request, inputStream, bufferSize};
2728
Aws::IOStream* stream = &wrapper;

0 commit comments

Comments
 (0)