We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4c2bf2d commit 5551a1cCopy full SHA for 5551a1c
1 file changed
src/native/http_request_utils.c
@@ -97,7 +97,7 @@ static int s_aws_input_stream_read(struct aws_input_stream *stream, struct aws_b
97
size_t chunk_size = 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.
+ since Java natively does not support direct allocation of buffers of capacity > Integer.MAX_VALUE.
101
Since C handles recursively calling for more data, we read up to chunk size or out_remaining (whichever is lower)
102
and return the C. */
103
if (out_remaining <= chunk_size) {
0 commit comments