mirror of
https://gitee.com/jmix/cuba.git
synced 2024-12-05 04:38:10 +08:00
PL-6101 FileStorage implementation for clouds
#PL-6101
This commit is contained in:
parent
069b647bb9
commit
e245654997
@ -89,7 +89,7 @@ public class AmazonS3FileStorage implements FileStorageAPI {
|
|||||||
|
|
||||||
// get the request stream and start writing the user data as chunks, as outlined
|
// get the request stream and start writing the user data as chunks, as outlined
|
||||||
// above;
|
// above;
|
||||||
byte[] buffer = new byte[4096];
|
byte[] buffer = new byte[amazonConfiguration.getChunkSize()];
|
||||||
DataOutputStream outputStream = new DataOutputStream(connection.getOutputStream());
|
DataOutputStream outputStream = new DataOutputStream(connection.getOutputStream());
|
||||||
|
|
||||||
int bytesRead;
|
int bytesRead;
|
||||||
|
Loading…
Reference in New Issue
Block a user