[Bugs] [Bug 1601356] Problem with SSL/TLS encryption on Gluster 4.0 & 4.1

bugzilla at redhat.com bugzilla at redhat.com
Fri Sep 21 13:10:13 UTC 2018


https://bugzilla.redhat.com/show_bug.cgi?id=1601356

Worker Ant <bugzilla-bot at gluster.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|POST                        |MODIFIED



--- Comment #12 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/20993 committed in release-4.1 by
"Shyamsundar Ranganathan" <srangana at redhat.com> with a commit message- rpc:
handle EAGAIN when SSL_ERROR_SYSCALL is returned

Problem:
A return value of ENODATA was forcibly returned in the case where
SSL_get_error(r) returned SSL_ERROR_SYSCALL. Sometimes SSL_ERROR_SYSCALL
is a transient error which is identified by setting errno to EAGAIN.
EAGAIN is not a fatal error and indicates that the syscall needs to be
retried.

Solution:
Bubble up the errno in case SSL_get_error(r) returns SSL_ERROR_SYSCALL
and let the upper layers handle it appropriately.

fixes: bz#1601356
Change-Id: I76eff278378930ee79abbf9fa267a7e77356eed6
Signed-off-by: Milind Changire <mchangir at redhat.com>

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=onmXzC4plm&a=cc_unsubscribe


More information about the Bugs mailing list