avoid stackoverflow on multipart upload

This commit is contained in:
Adrian Cole 2012-01-15 02:19:05 -08:00
parent 82673e0dd5
commit de1e8a7ce3
1 changed files with 2 additions and 1 deletions

View File

@ -126,7 +126,8 @@ public class SequentialMultipartUploadStrategy implements MultipartUploadStrateg
throw rtex;
}
} else {
return ablobstore.putBlob(container, blob, options);
// TODO: find a way to disable multipart. if we pass the original options, it goes into a stack overflow
return ablobstore.putBlob(container, blob, PutOptions.NONE);
}
}
}