mirror of
https://github.com/sbt/sbt.git
synced 2026-09-07 19:05:53 +02:00
It is inefficient to be constantly allocating and filling an ArrayBuffer. The buffer is only used for reading headers that we mostly discard anyway. My assumption is that since we only care about content length, it's fine to put a fixed limit on the buffer size.