[NO ISSUE][NET] Ensure handle is closed on ssl handshake failure
authorMurtadha Hubail <mhubail@apache.org>
Fri, 12 Feb 2021 19:22:59 +0000 (22:22 +0300)
committerMurtadha Hubail <mhubail@apache.org>
Wed, 17 Feb 2021 18:02:30 +0000 (18:02 +0000)
commit334cf2044cd3a27c9c1fe833a3ef13e0edadbdd9
tree39093cc603b9cc11f1b74030cbf11dfa9dcc2639
parent486aac395b41c35c66e1db94ab5a0b801a8d1b42
[NO ISSUE][NET] Ensure handle is closed on ssl handshake failure

- user model changes: no
- storage format changes: no
- interface changes: no

Details:

- When an ssl handshake fails, close the handle to notify
  any waiting threads on the handle to connect.
- Ensure close is called on ssl socket.

Change-Id: I2bd98065f606ad43121b7f06a729fa336f1a7360
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/10005
Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Reviewed-by: Murtadha Hubail <mhubail@apache.org>
Reviewed-by: Hussain Towaileb <hussainht@gmail.com>
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
hyracks-fullstack/hyracks/hyracks-ipc/src/main/java/org/apache/hyracks/ipc/impl/IPCConnectionManager.java
hyracks-fullstack/hyracks/hyracks-ipc/src/main/java/org/apache/hyracks/ipc/sockets/SslSocketChannel.java