harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From telli...@apache.org
Subject svn commit: r409653 - /incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/org/apache/harmony/luni/internal/net/www/protocol/http/HttpURLConnection.java
Date Fri, 26 May 2006 11:59:25 GMT
Author: tellison
Date: Fri May 26 04:59:24 2006
New Revision: 409653

URL: http://svn.apache.org/viewvc?rev=409653&view=rev
Log:
Fix for HARMONY-499 (Java 5 Enhancement: java.net.HttpURLConnection should send request head
with a connection-field of "Keep-Alive")

Modified:
    incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/org/apache/harmony/luni/internal/net/www/protocol/http/HttpURLConnection.java

Modified: incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/org/apache/harmony/luni/internal/net/www/protocol/http/HttpURLConnection.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/org/apache/harmony/luni/internal/net/www/protocol/http/HttpURLConnection.java?rev=409653&r1=409652&r2=409653&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/org/apache/harmony/luni/internal/net/www/protocol/http/HttpURLConnection.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/org/apache/harmony/luni/internal/net/www/protocol/http/HttpURLConnection.java
Fri May 26 04:59:24 2006
@@ -1047,7 +1047,7 @@
             output.append("\r\n");
         }
         if (httpVersion > 0 && reqHeader.get("Connection") == null)
-            output.append("Connection: close\r\n");
+            output.append("Connection: Keep-Alive\r\n");
 
         // if we are doing output make sure the approprate headers are sent
         if (os != null) {



Mime
View raw message