Skip to content

Instantly share code, notes, and snippets.

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.
@jkeillor
jkeillor / mongodb30.rb
Last active February 23, 2016 17:35
homebrew formula for mongo 3.0.x
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