pipeline.addLast("frameDecoder", new DelimiterBasedFrameDecoder(65536, true, true, delims.toArray(new ChannelBuffer[delims.size()])));
//pipeline.addLast("logger", new LoggingHandler(InternalLogLevel.INFO));
pipeline.addLast("stringDecoder", new StringDecoder(CharsetUtil.UTF_8));
pipeline.addLast("exec-handler", execHandler);
pipeline.addLast("submission-handler", submissionHandler);
pipeline.sendUpstream(new UpstreamMessageEvent(channel, buffer, channel.getRemoteAddress()));
return null;
}
if(log.isDebugEnabled()) log.debug("Switching to HTTP");
ctx.getPipeline().remove(this);
return buffer.readBytes(buffer.readableBytes());