On Sat, 9 Apr 2022 14:59:13 GMT, Xue-Lei Andrew Fan <xue...@openjdk.org> wrote:
> The existing behavior is trying to close the socket and send the > close_notify. As the socket closure has been done in the SocketImpl, I think > BaseSSLSocketImpl could rely on to the SocketImpl cleaner. So the left for > the cleaning is about the close_notify. @AlanBateman, just to clarify, send the close_notify first, then close the socket. >From the Socket's point of view, the encrypted close_notify message is just a >few bytes of application data sent over the Socket's OutputStream. ------------- PR: https://git.openjdk.java.net/jdk/pull/8065