Proposed fix for 6660405.
Christopher Hegarty - Sun Microsystems Ireland
Christopher.Hegarty at Sun.COM
Wed Mar 5 08:01:41 PST 2008
The change looks good. I approve this change.
Jean-Christophe Collet wrote:
> Here is my proposed fix for CR 6660405.
> The issue is that after a redirect, and if there is a cache hit (i.e.
> the URL is found in the cache) HttpURLConnection will return the wrong
> InputStream. Details are in the evaluation section of the CR.
> My proposed fix is to set inputStream back to null in
> I've also included a regression test that reproduces the bug.
> See patch attached.
More information about the net-dev