costin 02/04/09 11:19:27 Modified: coyote/src/java/org/apache/coyote Request.java Response.java Log: Add the second param in calling. The tomcat3 and 4 adapters are calling the request and response methods, it doesn't seem to be any other place to depend on this ( except the impl ) Revision Changes Path 1.13 +1 -1 jakarta-tomcat-connectors/coyote/src/java/org/apache/coyote/Request.java Index: Request.java =================================================================== RCS file: /home/cvs/jakarta-tomcat-connectors/coyote/src/java/org/apache/coyote/Request.java,v retrieving revision 1.12 retrieving revision 1.13 diff -u -r1.12 -r1.13 --- Request.java 8 Apr 2002 22:56:22 -0000 1.12 +++ Request.java 9 Apr 2002 18:19:27 -0000 1.13 @@ -428,7 +428,7 @@ */ public int doRead(ByteChunk chunk) throws IOException { - int n = inputBuffer.doRead(chunk); + int n = inputBuffer.doRead(chunk, this); if (n > 0) available -= n; return n; 1.11 +3 -3 jakarta-tomcat-connectors/coyote/src/java/org/apache/coyote/Response.java Index: Response.java =================================================================== RCS file: /home/cvs/jakarta-tomcat-connectors/coyote/src/java/org/apache/coyote/Response.java,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- Response.java 8 Apr 2002 23:07:11 -0000 1.10 +++ Response.java 9 Apr 2002 18:19:27 -0000 1.11 @@ -475,14 +475,14 @@ */ public void doWrite(ByteChunk chunk/*byte buffer[], int pos, int count*/) throws IOException { - outputBuffer.doWrite(chunk); + outputBuffer.doWrite(chunk, this); } // -------------------- public void recycle() { - + contentType = Constants.DEFAULT_CONTENT_TYPE; contentLanguage = null; locale = Constants.DEFAULT_LOCALE; @@ -494,7 +494,7 @@ errorException = null; errorURI = null; headers.clear(); - + } }
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>