This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Mongodb30 < Formula | |
desc "High-performance document-oriented database" | |
homepage "https://www.mongodb.org/" | |
url "http://downloads.mongodb.org/src/mongodb-src-r3.0.9.tar.gz" | |
sha256 "5b6f189458739a327a2ad4a5ecab4f733c6a6751ccb067ec8879a0f98f2b97c3" | |
option "with-boost", "Compile using installed boost, not the version shipped with mongodb" | |
depends_on :macos => :snow_leopard | |
depends_on "scons" => :build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/core/sdk-core/src/main/java/software/amazon/awssdk/core/internal/http/async/AsyncResponseHandler.java b/core/sdk-core/src/main/java/software/amazon/awssdk/core/internal/http/async/AsyncResponseHandler.java | |
index 81400eaefc..7f0c5ddb96 100644 | |
--- a/core/sdk-core/src/main/java/software/amazon/awssdk/core/internal/http/async/AsyncResponseHandler.java | |
+++ b/core/sdk-core/src/main/java/software/amazon/awssdk/core/internal/http/async/AsyncResponseHandler.java | |
@@ -80,10 +80,13 @@ public final class AsyncResponseHandler<T> implements TransformingAsyncResponseH | |
public CompletableFuture<T> prepare() { | |
streamFuture = new CompletableFuture<>(); | |
return streamFuture.thenCompose(baos -> { | |
- ByteArrayInputStream content = new ByteArrayInputStream(baos.toByteArray()); | |
- // Ignore aborts - we already have all of the content. |