Fixed issue: NETTY-350 Copy/paste error in org.jboss.netty.handler.codec.http.HttpMessageDecoder constructor

This commit is contained in:
Trustin Lee 2010-08-26 04:18:53 +00:00
parent e8fcbd4e75
commit ffccf71fa5

View File

@ -164,7 +164,7 @@ public abstract class HttpMessageDecoder extends ReplayingDecoder<HttpMessageDec
if (maxHeaderSize <= 0) {
throw new IllegalArgumentException(
"maxHeaderSize must be a positive integer: " +
maxChunkSize);
maxHeaderSize);
}
if (maxChunkSize < 0) {
throw new IllegalArgumentException(