change default from 1000 -> 1024
This commit is contained in:
parent
b0742950b9
commit
f16c7472de
@ -179,7 +179,7 @@ import org.jboss.netty.handler.codec.replay.ReplayingDecoder;
|
||||
*/
|
||||
public abstract class FrameDecoder extends SimpleChannelUpstreamHandler implements LifeCycleAwareChannelHandler {
|
||||
|
||||
public static final int DEFAULT_MAX_COMPOSITEBUFFER_COMPONENTS = 1000;
|
||||
public static final int DEFAULT_MAX_COMPOSITEBUFFER_COMPONENTS = 1024;
|
||||
|
||||
private boolean unfold;
|
||||
protected ChannelBuffer cumulation;
|
||||
|
@ -53,7 +53,7 @@ import org.jboss.netty.util.CharsetUtil;
|
||||
* @apiviz.has org.jboss.netty.handler.codec.http.HttpChunk oneway - - filters out
|
||||
*/
|
||||
public class HttpChunkAggregator extends SimpleChannelUpstreamHandler implements LifeCycleAwareChannelHandler {
|
||||
public static final int DEFAULT_MAX_COMPOSITEBUFFER_COMPONENTS = 1000;
|
||||
public static final int DEFAULT_MAX_COMPOSITEBUFFER_COMPONENTS = 1024;
|
||||
|
||||
private static final ChannelBuffer CONTINUE = ChannelBuffers.copiedBuffer(
|
||||
"HTTP/1.1 100 Continue\r\n\r\n", CharsetUtil.US_ASCII);
|
||||
|
Loading…
x
Reference in New Issue
Block a user