Add a TODO which should be done when buffer pool is implemented
This commit is contained in:
parent
501746aeff
commit
f4fa5698c1
@ -1468,6 +1468,7 @@ public class DefaultChannelPipeline implements ChannelPipeline {
|
||||
public ChannelBuf newOutboundBuffer(ChannelHandlerContext ctx) throws Exception {
|
||||
switch (channel.metadata().bufferType()) {
|
||||
case BYTE:
|
||||
// TODO: Use a direct buffer once buffer pooling is implemented.
|
||||
return Unpooled.buffer();
|
||||
case MESSAGE:
|
||||
return Unpooled.messageBuffer();
|
||||
|
Loading…
Reference in New Issue
Block a user