Integrated: 8255264: Support for identifying the full range of IPv4 localhost addresses on Windows

Mat Carter github.com+54955201+macarte at openjdk.java.net
Wed Jan 6 10:41:54 UTC 2021


On Mon, 30 Nov 2020 18:09:57 GMT, Mat Carter <github.com+54955201+macarte at openjdk.org> wrote:

> Modified Windows specific loopback macros to support full range of loopback addresses, commit message includes unit test data as there's no gtest's for java libraries (only hotspot compiler)
> 
> This is an expansion on the original fix for 8250521: Configure initial RTO to use minimal retry for loopback connections on Windows
> 
> IPV4 loopback addresses are defined as 127.0.0.0/8 the CIDR translates to a range of 127.0.0.0 to
> 127.255.255.255 inclusive.
> 
> The previous macro implementation only identified 127.0.0.1 and ::1 as loopback addresses, this is corrected in this change
> 
> Note that as IPV6 is defined as ::1/128 only ::1 is a valid loopback address

This pull request has now been integrated.

Changeset: 7e01bc96
Author:    Mat Carter <macarte at microsoft.com>
Committer: Alan Bateman <alanb at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/7e01bc96
Stats:     17 lines in 1 file changed: 6 ins; 0 del; 11 mod

8255264: Support for identifying the full range of IPv4 localhost addresses on Windows

Reviewed-by: alanb

-------------

PR: https://git.openjdk.java.net/jdk/pull/1523


More information about the net-dev mailing list