juergen     2002/10/25 01:58:33

  Modified:    src/webdav/client/src/org/apache/commons/httpclient
                        HttpClient.java
  Log:
  Increased the performance of short running htttp/webdav request by at least of a 
factor of 2. (Thanks to Manfred Heiss).
  
  Revision  Changes    Path
  1.16      +4 -3      
jakarta-slide/src/webdav/client/src/org/apache/commons/httpclient/HttpClient.java
  
  Index: HttpClient.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-slide/src/webdav/client/src/org/apache/commons/httpclient/HttpClient.java,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- HttpClient.java   24 Sep 2002 12:41:50 -0000      1.15
  +++ HttpClient.java   25 Oct 2002 08:58:33 -0000      1.16
  @@ -838,6 +838,7 @@
                       socket = new Socket(this.proxyHost, this.proxyPort);
                   }
               }
  +            socket.setTcpNoDelay(true);
               input = new BufferedInputStream(socket.getInputStream(), 8192);
               output = socket.getOutputStream();
           } catch (IOException e) {
  
  
  

--
To unsubscribe, e-mail:   <mailto:slide-dev-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:slide-dev-help@;jakarta.apache.org>

Reply via email to