RFR [9] 8085785: sun/net/www/protocol/http/ZoneId.java timeout intermittently
Seán Coffey
sean.coffey at oracle.com
Tue May 31 09:45:28 UTC 2016
Looks fine to me also Chris.
Regards,
Sean.
On 30/05/2016 22:52, Mark Sheppard wrote:
> Hi Chris,
> this looks good ... so the server now listens on wildcard and the
> client uses IPv6 loopback as the destination address.
> The use of NO_PROXY, is good. I wouldn't have thought of that, and in
> the past, Tests have experienced firewall issues on
> linux and macos perviously without this setting.
>
> regards
> Mark
>
> On 26/05/2016 14:33, Chris Hegarty wrote:
>> ZoneId is attempting to verify the 'Host' header set by the
>> HttpURLConnection implementation
>> when given an IPv6 literal containing a scope id. It does so by
>> iterating the network interfaces
>> on the machine attempting to find one that is suitable to use as the
>> listening interface for a
>> temporary test HTTP sever. Then it connects to it, and verifies the
>> value of the 'Host' header.
>>
>> This is problematic as some interfaces like teredo on Windows, or
>> awdl on Mac, are not
>> suitable. Rather than all this, the test can use the IPv6 loopback
>> address, which can contain
>> a scope id, if retrieved from the NetworkInterface API.
>>
>> http://cr.openjdk.java.net/~chegar/8085785/
>> https://bugs.openjdk.java.net/browse/JDK-8085785
>>
>> -Chris.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/net-dev/attachments/20160531/492bd871/attachment.html>
More information about the net-dev
mailing list