Skip to content

Commit

Permalink
servlet: remove 4096 min buffer size
Browse files Browse the repository at this point in the history
  • Loading branch information
panchenko committed Feb 4, 2025
1 parent b1bc0a9 commit f9ea503
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ private static final class ByteArrayWritableBuffer implements WritableBuffer {
private int index;

ByteArrayWritableBuffer(int capacityHint) {
this.bytes = new byte[min(1024 * 1024, max(4096, capacityHint))];
this.bytes = new byte[min(1024 * 1024, capacityHint)];
this.capacity = bytes.length;
}

Expand Down

0 comments on commit f9ea503

Please sign in to comment.