summaryrefslogtreecommitdiffstats
path: root/geo-replication
diff options
context:
space:
mode:
authorLeonid Ishimnikov <lishim@fastmail.com>2020-08-13 15:37:50 -0400
committerLeonid Ishimnikov <lishim@fastmail.com>2020-08-13 15:38:10 -0400
commitbb5801d1480314e09b4203d2525bd01aada5c683 (patch)
tree7866d059d02dc83c48987486a467b87637f5f7b2 /geo-replication
parentc43fd499e3464894c986be3c792d53ef35f2002d (diff)
glusterd: dump SSL error stack on disconnect
Problem: When a non-SSL connection is attempted on an SSL-enabled management port, unrelated peers are subsequently disconnected from the node with a misleading error message. Cause: A non-SSL client causes OpenSSL to push a wrong version error into its thread-local error stack, but this error is never cleared, and it lingers in the stack until the thread is used by another SSL session, and a certain condition requires the error stack to be examined, at which time the old error is discovered and the connection is terminated. Solution: Log and clear the error stack upon terminating the connection. Change-Id: I82f3a723285df24dafc88850ae4fca65b69f6ae4 Fixes: #1418 Signed-off-by: Leonid Ishimnikov <lishim@fastmail.com>
Diffstat (limited to 'geo-replication')
0 files changed, 0 insertions, 0 deletions