Enable bulk writes in the HttpBlobStore
This was a performance regression in
Fixed
@@ -205,6 +205,12 @@ public final class HttpBlobStore implements SimpleBlobStore {
OutputStream wrappedOut =
new FilterOutputStream(out) {
+ @Override
+ public void write(byte[] b, int offset, int length) throws IOException {
+ dataWritten.set(true);
+ super.write(b, offset, length);
+ }
+
@Override
public void write(int b) throws IOException {
dataWritten.set(true);
