File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
src/aws-cpp-sdk-core/source/http/interceptor Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -66,16 +66,17 @@ ChunkingInterceptor::ModifyResponseOutcome ChunkingInterceptor::ModifyBeforeDese
6666}
6767
6868bool ChunkingInterceptor::ShouldApplyAwsChunking (const std::shared_ptr<Aws::Http::HttpRequest>& request) const {
69- #ifdef _WIN32
70- // Temporarily disable aws-chunked on Windows due to HTTP client compatibility issues
71- return false ;
72- #endif
73-
7469 if (!request || !request->GetContentBody ()) {
7570 return false ;
7671 }
72+
73+ #ifdef _WIN32
74+ // Temporarily disable aws-chunked on Windows due to HTTP client compatibility issues
75+ return false ;
76+ #else
7777 const auto & hashPair = request->GetRequestHash ();
7878 return hashPair.second != nullptr ;
79+ #endif
7980}
8081
8182} // namespace Http
You can’t perform that action at this time.
0 commit comments