mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 03:52:35 +01:00
MDEV-30402: Encrypted mariabackup SST breaks on distributions with newer socat
This commit adds a new 'no-sni' option to socat which is required to properly authenticate with newer socat versions (after version 1.7.4+). This option is needed to disable the automatic use of the SNI feature (Server Name Indication) since the SST script directly specifies the commonname if necessary and automatic activation of the SNI feature is unnecessary in such scenarios.
This commit is contained in:
parent
ef4d09948d
commit
d1a4315f4c
1 changed files with 3 additions and 0 deletions
|
@ -340,6 +340,9 @@ get_transfer()
|
|||
"Use workaround for socat $SOCAT_VERSION bug"
|
||||
fi
|
||||
fi
|
||||
if check_for_version "$SOCAT_VERSION" '1.7.4'; then
|
||||
tcmd="$tcmd,no-sni=1"
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ "${sockopt#*,dhparam=}" = "$sockopt" ]; then
|
||||
|
|
Loading…
Reference in a new issue