Author: kkolinko Date: Tue Aug 28 20:47:16 2012 New Revision: 1378322 URL: http://svn.apache.org/viewvc?rev=1378322&view=rev Log: Correct Javadoc for code added in r423453 (s/after trailer mark/before trailer mark/, and do not say 'trailer' as in the spec the term "trailer" has other meaning)
Modified: tomcat/trunk/java/org/apache/coyote/http11/filters/ChunkedInputFilter.java Modified: tomcat/trunk/java/org/apache/coyote/http11/filters/ChunkedInputFilter.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/coyote/http11/filters/ChunkedInputFilter.java?rev=1378322&r1=1378321&r2=1378322&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/coyote/http11/filters/ChunkedInputFilter.java (original) +++ tomcat/trunk/java/org/apache/coyote/http11/filters/ChunkedInputFilter.java Tue Aug 28 20:47:16 2012 @@ -281,12 +281,14 @@ public class ChunkedInputFilter implemen /** * Parse the header of a chunk. - * A chunk header can look like - * A10CRLF + * A chunk header can look like one of the following:<br /> + * A10CRLF<br /> * F23;chunk-extension to be ignoredCRLF - * The letters before CRLF but after the trailer mark, must be valid hex digits, - * we should not parse F23IAMGONNAMESSTHISUP34CRLF as a valid header - * according to spec + * + * <p> + * The letters before CRLF or ';' (whatever comes first) must be valid hex + * digits. We should not parse F23IAMGONNAMESSTHISUP34CRLF as a valid + * header according to the spec. */ protected boolean parseChunkHeader() throws IOException { --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org