You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by lu...@apache.org on 2003/07/11 01:30:50 UTC
cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/coyote/tomcat5 CoyoteRequest.java CoyoteConnector.java
luehe 2003/07/10 16:30:50
Modified: catalina/src/share/org/apache/coyote/tomcat5
CoyoteRequest.java CoyoteConnector.java
Log:
Backed out earlier change
Revision Changes Path
1.11 +5 -14 jakarta-tomcat-catalina/catalina/src/share/org/apache/coyote/tomcat5/CoyoteRequest.java
Index: CoyoteRequest.java
===================================================================
RCS file: /home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/coyote/tomcat5/CoyoteRequest.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- CoyoteRequest.java 10 Jul 2003 15:51:39 -0000 1.10
+++ CoyoteRequest.java 10 Jul 2003 23:30:49 -0000 1.11
@@ -252,7 +252,7 @@
/**
* The associated input buffer.
*/
- protected InputBuffer inputBuffer;
+ protected InputBuffer inputBuffer = new InputBuffer();
/**
@@ -393,15 +393,6 @@
protected Log log=null;
// --------------------------------------------------------- Public Methods
-
- /**
- * Constructor
- *
- * @param inBufSize The input buffer size
- */
- public CoyoteRequest(int inBufSize) {
- inputBuffer = new InputBuffer(inBufSize);
- }
/**
* Release all object references, and initialize instance variables, in
1.11 +3 -3 jakarta-tomcat-catalina/catalina/src/share/org/apache/coyote/tomcat5/CoyoteConnector.java
Index: CoyoteConnector.java
===================================================================
RCS file: /home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/coyote/tomcat5/CoyoteConnector.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- CoyoteConnector.java 10 Jul 2003 15:51:39 -0000 1.10
+++ CoyoteConnector.java 10 Jul 2003 23:30:49 -0000 1.11
@@ -143,7 +143,7 @@
/**
* The input buffer size we should create on input streams.
*/
- private int bufferSize = InputBuffer.DEFAULT_BUFFER_SIZE;
+ private int bufferSize = 2048;
/**
@@ -1122,7 +1122,7 @@
*/
public Request createRequest() {
- CoyoteRequest request = new CoyoteRequest(getBufferSize());
+ CoyoteRequest request = new CoyoteRequest();
request.setConnector(this);
return (request);
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org