diff --git a/jetty-http/src/main/java/org/eclipse/jetty/http/HttpParser.java b/jetty-http/src/main/java/org/eclipse/jetty/http/HttpParser.java index 4597028330a..914a4068256 100644 --- a/jetty-http/src/main/java/org/eclipse/jetty/http/HttpParser.java +++ b/jetty-http/src/main/java/org/eclipse/jetty/http/HttpParser.java @@ -93,6 +93,7 @@ public class HttpParser @Deprecated public final static String __STRICT="org.eclipse.jetty.http.HttpParser.STRICT"; public final static int INITIAL_URI_LENGTH=256; + private final static int MAX_CHUNK_LENGTH=Integer.MAX_VALUE/16-16; /** * Cache of common {@link HttpField}s including: