RFR: 8293562: blocked threads with KeepAliveCache.get [v2]

Daniel Jeliński djelinski at openjdk.org
Tue Sep 27 09:23:17 UTC 2022


On Fri, 23 Sep 2022 10:58:19 GMT, Daniel Fuchs <dfuchs at openjdk.org> wrote:

> we should set the SO_TIMEOUT only for SSLSockets (in the HttpsClient subclass)

Done.
> and make sure we do it everywhere where serverSocket.close() is called.

The only other place is `checkURLSpoofing`; I'd rather not touch that method here. It does not block the KeepAliveCache.
> we should try catch and ignore exception

Done.

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

PR: https://git.openjdk.org/jdk/pull/10401


More information about the net-dev mailing list