harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leo Li (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-2075) [classlib][luni]HttpURLConnection.getInputStream fails with too many redirections
Date Mon, 13 Nov 2006 02:29:40 GMT
     [ http://issues.apache.org/jira/browse/HARMONY-2075?page=all ]

Leo Li updated HARMONY-2075:
----------------------------

    Attachment: patch.diff

Fixed. Thank you.
Here is the testcase.
I still use the outer site in it since aside from jetty I still need a DNS server to reproduce
the problem internally.

> [classlib][luni]HttpURLConnection.getInputStream fails with too many redirections
> ---------------------------------------------------------------------------------
>
>                 Key: HARMONY-2075
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2075
>             Project: Harmony
>          Issue Type: Bug
>            Reporter: Leo Li
>         Assigned To: Tim Ellison
>         Attachments: patch.diff, patch.diff
>
>
> HttpURLConnection allows only 4 times of redirections. 
> Here is the testcase:
> public void testHttpURLConnection()
> {
>      URL url = new URL(
>                 "http://cvs.apache.org//maven-snapshot-repository//org//apache//maven//plugins//maven-resources-plugin//2.3-SNAPSHOT//maven-resources-plugin-2.3-20060725.131549-1.jar");
>         URLConnection urlConnection = url.openConnection();
>         InputStream in = urlConnection.getInputStream();
>         in.close();
> }
> Result:
> RI passes
> Harmony fails          

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message