summaryrefslogtreecommitdiffstats
path: root/extras/hook-scripts/S56glusterd-geo-rep-create-post.sh
diff options
context:
space:
mode:
authorMilind Changire <mchangir@redhat.com>2018-08-25 18:45:34 +0530
committerShyamsundar Ranganathan <srangana@redhat.com>2018-09-21 13:09:41 +0000
commited59d4a8c4eafb7ff7709d0bf12c467a0bc35698 (patch)
tree4ad4c8c6d1c540be3f5aa8dd2a90e6acf69e592b /extras/hook-scripts/S56glusterd-geo-rep-create-post.sh
parent1dc54679178d03626ec06b9e58a4d24732c1de13 (diff)
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@redhat.com>
Diffstat (limited to 'extras/hook-scripts/S56glusterd-geo-rep-create-post.sh')
0 files changed, 0 insertions, 0 deletions