Todd Lipcon has submitted this change and it was merged.

Change subject: tls_socket: fix handling of syscall errors
......................................................................


tls_socket: fix handling of syscall errors

This prevents a case where we'd see an error like 'TlsSocket::Recv: Success'
when trying to read from a TLS socket which got abruptly shut down by the
remote side.

Change-Id: I9a0a63f861d71bd3186567ff98148476795530ab
Reviewed-on: http://gerrit.cloudera.org:8080/5954
Tested-by: Kudu Jenkins
Reviewed-by: Dan Burkert <[email protected]>
---
M src/kudu/security/tls_socket.cc
1 file changed, 26 insertions(+), 3 deletions(-)

Approvals:
  Dan Burkert: Looks good to me, approved
  Kudu Jenkins: Verified



-- 
To view, visit http://gerrit.cloudera.org:8080/5954
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I9a0a63f861d71bd3186567ff98148476795530ab
Gerrit-PatchSet: 4
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-Owner: Todd Lipcon <[email protected]>
Gerrit-Reviewer: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Dan Burkert <[email protected]>
Gerrit-Reviewer: Henry Robinson <[email protected]>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Sailesh Mukil <[email protected]>
Gerrit-Reviewer: Todd Lipcon <[email protected]>

Reply via email to