RFR: 8293562: blocked threads with KeepAliveCache.get [v2]
Daniel Jeliński
djelinski at openjdk.org
Tue Sep 27 18:29:34 UTC 2022
On Tue, 27 Sep 2022 13:11:09 GMT, Daniel Fuchs <dfuchs at openjdk.org> wrote:
>> Daniel Jeliński has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Only set timeout on SSLSockets
>
> test/jdk/sun/net/www/http/KeepAliveCache/B8293562.java line 73:
>
>> 71:
>> 72: public static void startHttpServer() throws Exception {
>> 73: server = HttpServer.create(new InetSocketAddress(InetAddress.getLocalHost(), 0), 10);
>
> It would probably be better to use the loopback - if there's no particular reason to use the local host name?
I guess I should have used a better example to copy from :) this piece of code was copied from / modeled after `B5045306`. Should I change that one as well?
-------------
PR: https://git.openjdk.org/jdk/pull/10401
More information about the net-dev
mailing list