You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by na...@apache.org on 2006/04/26 03:56:14 UTC

svn commit: r397048 - in /webservices/axis/trunk/c/tests/utils/monitor/org/apache/test: ClientReturner.java MockServerThread.java TestClientThread.java

Author: nadiramra
Date: Tue Apr 25 18:56:09 2006
New Revision: 397048

URL: http://svn.apache.org/viewcvs?rev=397048&view=rev
Log:
Increase buffer sizes to 32k in tcp monitor tool.

Modified:
    webservices/axis/trunk/c/tests/utils/monitor/org/apache/test/ClientReturner.java
    webservices/axis/trunk/c/tests/utils/monitor/org/apache/test/MockServerThread.java
    webservices/axis/trunk/c/tests/utils/monitor/org/apache/test/TestClientThread.java

Modified: webservices/axis/trunk/c/tests/utils/monitor/org/apache/test/ClientReturner.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/tests/utils/monitor/org/apache/test/ClientReturner.java?rev=397048&r1=397047&r2=397048&view=diff
==============================================================================
--- webservices/axis/trunk/c/tests/utils/monitor/org/apache/test/ClientReturner.java (original)
+++ webservices/axis/trunk/c/tests/utils/monitor/org/apache/test/ClientReturner.java Tue Apr 25 18:56:09 2006
@@ -43,7 +43,7 @@
     // the writer back to the client
     protected BufferedWriter streamToClient       =null;
 
-    private static final int READ_BUFFER_SIZE     =4091; // 4k
+    private static final int READ_BUFFER_SIZE     =32768; // 32k
 
     protected ClientReturner(Socket clientSocket) throws IOException
     {

Modified: webservices/axis/trunk/c/tests/utils/monitor/org/apache/test/MockServerThread.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/tests/utils/monitor/org/apache/test/MockServerThread.java?rev=397048&r1=397047&r2=397048&view=diff
==============================================================================
--- webservices/axis/trunk/c/tests/utils/monitor/org/apache/test/MockServerThread.java (original)
+++ webservices/axis/trunk/c/tests/utils/monitor/org/apache/test/MockServerThread.java Tue Apr 25 18:56:09 2006
@@ -40,7 +40,7 @@
     private static String   ENVELOPE_TAG    ="</SOAP-ENV:Envelope>";
     private static String   MIME_BOUNDARY   ="MIME_BOUNDARY";
 
-    private static int      CHARBUFFER_SIZE =20000;
+    private static int      CHARBUFFER_SIZE =32768; // 32K
 
     // Only store the socket so we can close it
     private Socket socket;

Modified: webservices/axis/trunk/c/tests/utils/monitor/org/apache/test/TestClientThread.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/tests/utils/monitor/org/apache/test/TestClientThread.java?rev=397048&r1=397047&r2=397048&view=diff
==============================================================================
--- webservices/axis/trunk/c/tests/utils/monitor/org/apache/test/TestClientThread.java (original)
+++ webservices/axis/trunk/c/tests/utils/monitor/org/apache/test/TestClientThread.java Tue Apr 25 18:56:09 2006
@@ -40,7 +40,7 @@
     // I didn't want to make this global but it has to be for the constructor
     // pattern to work :-(
     private int              bytesRead                     =0;
-    private static final int READ_BUFFER_SIZE              =10000;                     // 4096=4k
+    private static final int READ_BUFFER_SIZE              =32768; // 32k
     private char[]           readBuffer                    =new char[READ_BUFFER_SIZE];
 
     // the request from the client