ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From maart...@apache.org
Subject svn commit: r1453004 - /ant/ivy/core/trunk/src/java/org/apache/ivy/util/url/HttpClientHandler.java
Date Tue, 05 Mar 2013 21:24:29 GMT
Author: maartenc
Date: Tue Mar  5 21:24:28 2013
New Revision: 1453004

URL: http://svn.apache.org/r1453004
Log:
Attempt to improve HTTP upload speed (IVY-1197)

Modified:
    ant/ivy/core/trunk/src/java/org/apache/ivy/util/url/HttpClientHandler.java

Modified: ant/ivy/core/trunk/src/java/org/apache/ivy/util/url/HttpClientHandler.java
URL: http://svn.apache.org/viewvc/ant/ivy/core/trunk/src/java/org/apache/ivy/util/url/HttpClientHandler.java?rev=1453004&r1=1453003&r2=1453004&view=diff
==============================================================================
--- ant/ivy/core/trunk/src/java/org/apache/ivy/util/url/HttpClientHandler.java (original)
+++ ant/ivy/core/trunk/src/java/org/apache/ivy/util/url/HttpClientHandler.java Tue Mar  5
21:24:28 2013
@@ -131,6 +131,7 @@ public class HttpClientHandler extends A
 
         PutMethod put = new PutMethod(normalizeToString(dest));
         put.setDoAuthentication(useAuthentication(dest) || useProxyAuthentication());
+        put.getParams().setBooleanParameter("http.protocol.expect-continue", true);
         try {
             put.setRequestEntity(new FileRequestEntity(src));
             int statusCode = client.executeMethod(put);



Mime
View raw message