servlet: remove 4096 min buffer size

Similar to 7153ff8
This commit is contained in:
Alex Panchenko 2025-02-04 20:49:30 +02:00 committed by GitHub
parent b1bc0a9d24
commit 4a10a38166
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -168,7 +168,7 @@ final class ServletServerStream extends AbstractServerStream {
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;
}