> Please refer to JDK-8314063.
> 
> The failure scenario is due to the setting of connection timeout. It is 
> either too small or not an optimal value for the system. When the client 
> tries to connect to the server with LDAPs protocol. It requires the handshake 
> after the socket is created and connected, but it fails due to connection 
> timeout and leaves the socket open. It is not closed properly due to the 
> exception handling in the JDK code.
> 
> The change is adding a try/catch block and closing the socket in the catch 
> block,  and the format of the code got changed consequently.

Weibing Xiao has updated the pull request incrementally with one additional 
commit since the last revision:

  refactor the code and test cases

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/15294/files
  - new: https://git.openjdk.org/jdk/pull/15294/files/ac72c3d8..e9e0497f

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=15294&range=06
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=15294&range=05-06

  Stats: 121 lines in 3 files changed: 48 ins; 36 del; 37 mod
  Patch: https://git.openjdk.org/jdk/pull/15294.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/15294/head:pull/15294

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

Reply via email to