[NO ISSUE][NET] Attempt to Read SSL Sockets Until EOF
authorMurtadha Hubail <mhubail@apache.org>
Fri, 1 Apr 2022 22:05:55 +0000 (01:05 +0300)
committerMurtadha Hubail <mhubail@apache.org>
Fri, 1 Apr 2022 22:51:09 +0000 (22:51 +0000)
commit0afd4ee7ea0b01ac4bc2f69eb26a402166d7804a
tree0aee2f063ca0813de1f52b78819de9e2ec5b78ac
parent2636846ce9bc738b874f5b69fb3a2cf767e2932d
[NO ISSUE][NET] Attempt to Read SSL Sockets Until EOF

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

Details:

- Since SSL sockets may return 0 as read bytes due to failure
  to decrypt a complete encrypted block, we need to attempt
  to read again until a complete block is decrypted.

Change-Id: Ia48b7f9f1725c40b2ebfac6fe77b3eb42c426de3
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/15964
Reviewed-by: Ali Alsuliman <ali.al.solaiman@gmail.com>
Tested-by: Murtadha Hubail <mhubail@apache.org>
asterixdb/asterix-replication/src/main/java/org/apache/asterix/replication/management/NetworkingUtil.java