netty/netty — Issue #179: ChannelBuffers.buffer(int) should be changed to ChannelBuffers.buffer(long)
Author: normanmaurer
Created: 2012-02-07 08:37:08+00:00
State: open
Labels: feature, improvement

At the moment we use an int to specify the capacitiy. This limits the ChannelBuffer to a max of 2gb. Some users may want to use biffer ChannelBuffers. We had the request already in the past.

It should be noted that we also need to change very method in the ChannelBuffer interface that use the index and takes an int as argument.

So if we want to make this change then we should make it before we release 4.x as it will break things