From 59671bd02987c4215160be871c88ca5743d30a31 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Francisco=20Fern=C3=A1ndez=20Casta=C3=B1o?= Date: Tue, 17 Nov 2020 19:16:47 +0100 Subject: [PATCH 1/2] Reuse the http client configured in the provided HttpPipeline during BlobBatch construction. --- .../src/main/java/com/azure/storage/blob/batch/BlobBatch.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sdk/storage/azure-storage-blob-batch/src/main/java/com/azure/storage/blob/batch/BlobBatch.java b/sdk/storage/azure-storage-blob-batch/src/main/java/com/azure/storage/blob/batch/BlobBatch.java index 66fd5e035023f..2d5655cdc8974 100644 --- a/sdk/storage/azure-storage-blob-batch/src/main/java/com/azure/storage/blob/batch/BlobBatch.java +++ b/sdk/storage/azure-storage-blob-batch/src/main/java/com/azure/storage/blob/batch/BlobBatch.java @@ -92,6 +92,8 @@ public final class BlobBatch { batchPipelineBuilder.policies(this::buildBatchOperation); + batchPipelineBuilder.httpClient(pipeline.getHttpClient()); + this.blobAsyncClient = new BlobClientBuilder() .endpoint(accountUrl) .blobName("") From 44670cfaa429b76ab901d1f4f5d91a8604234822 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Francisco=20Fern=C3=A1ndez=20Casta=C3=B1o?= Date: Wed, 18 Nov 2020 09:38:00 +0100 Subject: [PATCH 2/2] Include change log notes. --- sdk/storage/azure-storage-blob-batch/CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/storage/azure-storage-blob-batch/CHANGELOG.md b/sdk/storage/azure-storage-blob-batch/CHANGELOG.md index c7747284136e2..d34b36b05ffdf 100644 --- a/sdk/storage/azure-storage-blob-batch/CHANGELOG.md +++ b/sdk/storage/azure-storage-blob-batch/CHANGELOG.md @@ -1,7 +1,7 @@ # Release History ## 12.8.0-beta.1 (Unreleased) - +- Reuse the Http client configured in the provided HttpPipeline during BlobBatch construction. ## 12.7.0 (2020-11-11) - GA release