RFR: 8292044: HttpClient doesn't handle 102 or 103 properly [v6]
Jaikiran Pai
jpai at openjdk.org
Fri Sep 9 09:57:09 UTC 2022
On Fri, 9 Sep 2022 08:34:07 GMT, Daniel Fuchs <dfuchs at openjdk.org> wrote:
>> Jaikiran Pai has updated the pull request incrementally with one additional commit since the last revision:
>>
>> code comment adjustment
>
> test/jdk/java/net/httpclient/Response1xxTest.java line 76:
>
>> 74: http1RequestURIBase = "http://" + serverSocket.getInetAddress().getHostAddress()
>> 75: + ":" + serverSocket.getLocalPort();
>> 76:
>
> This will not work if the address is the IPv6 loopback. I suggest using the test URIBuilder to build the URI.
You are right - I hadn't taken that aspect into account. I have now updated the PR to use the `URIBuilder` test library.
-------------
PR: https://git.openjdk.org/jdk/pull/10169
More information about the net-dev
mailing list