jetty.project/jetty-io
Simone Bordet f2c6b67827
Fixes #4971 - Simplify Connection.upgradeFrom()/upgradeTo(). (#5008)
Fixes #4971 - Simplify Connection.upgradeFrom()/upgradeTo().

Now the upgrade-from connection produces a "floating" buffer 
(not belonging to a pool), so that it can release the original buffer.

The upgrade-to connection is free to copy or store this "floating" buffer.

Strengthened ByteBufferPool behavior when releasing non-pooled
ByteBuffers: the buffer is now discarded.

Updated javadocs and all implementations.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-07-06 22:45:03 +02:00
..
src Fixes #4971 - Simplify Connection.upgradeFrom()/upgradeTo(). (#5008) 2020-07-06 22:45:03 +02:00
pom.xml Updating to version 9.4.31-SNAPSHOT 2020-06-11 08:24:34 -05:00