RFR: 8256818: SSLSocket that is never bound or connected leaks socket resources

Xue-Lei Andrew Fan xuelei at openjdk.java.net
Fri Nov 27 16:17:55 UTC 2020


On Fri, 27 Nov 2020 15:46:08 GMT, Christoph Langer <clanger at openjdk.org> wrote:

>> I changed the check for when to do duplexClose to only do it when socket isConnected().
>> 
>> I also added a testcase which should work on all platforms. For windows I borrowed some functionality introduced lately with test java/lang/ProcessBuilder/checkHandles/CheckHandles.java which I moved to the test library for that reason.
>> 
>> Now it's ready to review.
>
> Ping... Any takers? comments? reviews?

I will have a look at this update.

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

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



More information about the security-dev mailing list