We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5551a1c commit 50bc073Copy full SHA for 50bc073
1 file changed
src/native/http_request_utils.c
@@ -94,7 +94,7 @@ static int s_aws_input_stream_read(struct aws_input_stream *stream, struct aws_b
94
}
95
96
size_t out_remaining = dest->capacity - dest->len;
97
- size_t chunk_size = 1024;
+ size_t chunk_size = 1024 * 1024 * 1024;
98
/* Newer updates allow part sizes up to 5GB. Since number of bytes required for a 5GB part is
99
greater than INT_MAX, it would cause a bug where the java does not allocate memory and return a null buffer
100
since Java natively does not support direct allocation of buffers of capacity > Integer.MAX_VALUE.
0 commit comments