You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Leo Li (JIRA)" <ji...@apache.org> on 2006/11/07 03:00:38 UTC

[jira] Updated: (HARMONY-2075) [classlib][luni]HttpURLConnection.getInputStream fails with too many redirections

     [ http://issues.apache.org/jira/browse/HARMONY-2075?page=all ]

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

    Attachment: patch.diff

Will somebody try the patch?
I will add a testcase if jetty is available.

> [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
>         Attachments: 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