harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From telli...@apache.org
Subject svn commit: r472474 - /incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/org/apache/harmony/luni/internal/net/www/protocol/http/HttpURLConnection.java
Date Wed, 08 Nov 2006 12:42:45 GMT
Author: tellison
Date: Wed Nov  8 04:42:44 2006
New Revision: 472474

URL: http://svn.apache.org/viewvc?view=rev&rev=472474
Log:
Patch for HARMONY-2075 ([classlib][luni]HttpURLConnection.getInputStream fails with too many
redirections)

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?view=diff&rev=472474&r1=472473&r2=472474
==============================================================================
--- 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
Wed Nov  8 04:42:44 2006
@@ -1398,6 +1398,7 @@
                             setProxy(location.substring(start));
                         } else {
                             url = new URL(url, location);
+                            hostName = url.getHost();
                             // update the port
                             hostPort = -1;
                         }



Mime
View raw message