mirror of
https://github.com/jetty/jetty.project.git
synced 2025-02-13 10:04:47 +00:00
A temporary fix that uses a hueristic to limit the pool size. Perhaps such a hueristic should be the default for the queue size of all ByteBufferPools, as infinite queue size is rarely going to be a good thing? Also, I think all the pools need to have better javadoc, plus an upper/lower bound of the size of buffer that they will pool, as gzip will tend to ask for lots of random sized buffers to put the expanded data into, some could be very large and unlikely to be reused.