diff src/org/eclipse/jetty/http/HttpParser.java @ 1059:013939bfc9e8

remove JBuffer.poke()
author Franklin Schmidt <fschmidt@gmail.com>
date Tue, 08 Nov 2016 05:39:33 -0700
parents 87275900646e
children c880589715c7
line wrap: on
line diff
--- a/src/org/eclipse/jetty/http/HttpParser.java	Tue Nov 08 04:17:22 2016 -0700
+++ b/src/org/eclipse/jetty/http/HttpParser.java	Tue Nov 08 05:39:33 2016 -0700
@@ -509,11 +509,11 @@
 //												value=HttpHeaderValues.CACHE.lookup(value);
 												vo = HttpHeaderValues.CACHE.getOrdinal(value);
 												if (HttpHeaderValues.CHUNKED_ORDINAL == vo)
-													_contentLength=HttpTokens.CHUNKED_CONTENT;
+													_contentLength = HttpTokens.CHUNKED_CONTENT;
 												else
 												{
 													if (value.endsWith(HttpHeaderValues.CHUNKED))
-														_contentLength=HttpTokens.CHUNKED_CONTENT;
+														_contentLength = HttpTokens.CHUNKED_CONTENT;
 
 													else if (value.indexOf(HttpHeaderValues.CHUNKED) >= 0)
 														throw new HttpException(400,null);