remm 02/01/08 08:03:34
Modified: http11/src/java/org/apache/coyote/http11
InternalInputBuffer.java
Log:
- The third parameter of addValue should be the length, although the method
prototype implies otherwise.
Revision Changes Path
1.6 +4 -4
jakarta-tomcat-connectors/http11/src/java/org/apache/coyote/http11/InternalInputBuffer.java
Index: InternalInputBuffer.java
===================================================================
RCS file:
/home/cvs/jakarta-tomcat-connectors/http11/src/java/org/apache/coyote/http11/InternalInputBuffer.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- InternalInputBuffer.java 8 Jan 2002 14:49:33 -0000 1.5
+++ InternalInputBuffer.java 8 Jan 2002 16:03:34 -0000 1.6
@@ -1,7 +1,7 @@
/*
- * $Header:
/home/cvs/jakarta-tomcat-connectors/http11/src/java/org/apache/coyote/http11/InternalInputBuffer.java,v
1.5 2002/01/08 14:49:33 remm Exp $
- * $Revision: 1.5 $
- * $Date: 2002/01/08 14:49:33 $
+ * $Header:
/home/cvs/jakarta-tomcat-connectors/http11/src/java/org/apache/coyote/http11/InternalInputBuffer.java,v
1.6 2002/01/08 16:03:34 remm Exp $
+ * $Revision: 1.6 $
+ * $Date: 2002/01/08 16:03:34 $
*
* ====================================================================
*
@@ -575,7 +575,7 @@
if (buf[pos] == Constants.COLON) {
colon = true;
- headerValue = headers.addValue(buf, start, pos);
+ headerValue = headers.addValue(buf, start, pos - start);
}
chr = buf[pos];
if ((chr >= Constants.A) && (chr <= Constants.Z)) {
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>