harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject svn commit: r513796 - /harmony/enhanced/classlib/trunk/modules/luni/src/main/java/org/apache/harmony/luni/internal/net/www/protocol/http/HttpURLConnection.java
Date Fri, 02 Mar 2007 15:01:08 GMT
Author: ayza
Date: Fri Mar  2 07:01:07 2007
New Revision: 513796

URL: http://svn.apache.org/viewvc?view=rev&rev=513796
Log:
Applying patch from HARMONY-3217 ([classlib][luni][netbeans] HTTP connect through proxy doesn't
work)

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

Modified: 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/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/org/apache/harmony/luni/internal/net/www/protocol/http/HttpURLConnection.java?view=diff&rev=513796&r1=513795&r2=513796
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/luni/src/main/java/org/apache/harmony/luni/internal/net/www/protocol/http/HttpURLConnection.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/luni/src/main/java/org/apache/harmony/luni/internal/net/www/protocol/http/HttpURLConnection.java
Fri Mar  2 07:01:07 2007
@@ -866,6 +866,9 @@
             throw new ProtocolException(Msg.getString("K008d")); //$NON-NLS-1$
         }
 
+        // connect before sending requests
+        connect();
+
         doRequest();
 
         /*



Mime
View raw message