Use unfoldAndAdd(..) for now

This commit is contained in:
Norman Maurer 2013-04-02 13:58:15 +02:00
parent f95dbb7a4d
commit bcb0b83b44

View File

@ -221,7 +221,7 @@ public final class ChannelHandlerUtil {
return true; return true;
} }
} }
return ctx.nextOutboundMessageBuffer().add(msg); return ctx.nextOutboundMessageBuffer().unfoldAndAdd(msg);
} }
/** /**
@ -235,7 +235,7 @@ public final class ChannelHandlerUtil {
return true; return true;
} }
} }
return ctx.nextInboundMessageBuffer().add(msg); return ctx.nextInboundMessageBuffer().unfoldAndAdd(msg);
} }
private ChannelHandlerUtil() { } private ChannelHandlerUtil() { }