RFR: 8350279: HttpClient: Add a new HttpResponse method to identify connections [v12]

Volkan Yazici vyazici at openjdk.org
Tue Apr 15 07:29:47 UTC 2025


On Thu, 10 Apr 2025 13:58:40 GMT, Daniel Fuchs <dfuchs at openjdk.org> wrote:

>> test/jdk/java/net/httpclient/HttpResponseConnectionLabelTest.java line 129:
>> 
>>> 127:                 throw new RuntimeException("failed closing server", serverException);
>>> 128:             }
>>> 129:         }
>> 
>> The message here seems to be wrong. Can we use something less exotic to start the server too, and start it, for instance in the calling code?
>
> And also maybe log something after it's started - including the server authority where it's listening at?

Both are implemented in a0859c7c68614e8c3f531b1d4d9357f3f48cf5ab.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/24154#discussion_r2043840499


More information about the net-dev mailing list