You've already forked pgbackrest
mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-07-17 01:12:23 +02:00
Add TLS Server.
The TLS server is an alternative to using SSH for protocol connections to remote hosts. This command is currently experimental and intended only for trial and testing. As such, the new commands and options will not show up in the command-line help unless directly requested.
This commit is contained in:
@ -407,8 +407,9 @@ sub run
|
||||
# declaration and the renamed implementation.
|
||||
if ($strLine =~ /^{/)
|
||||
{
|
||||
push(@stryShimModuleSrcRenamed, trim($strFunctionDeclaration) . ";");
|
||||
push(@stryShimModuleSrcRenamed, $strFunctionShim);
|
||||
push(
|
||||
@stryShimModuleSrcRenamed,
|
||||
trim($strFunctionDeclaration) . "; " . $strFunctionShim);
|
||||
push(@stryShimModuleSrcRenamed, $strLine);
|
||||
|
||||
$strFunctionShim = undef;
|
||||
@ -416,7 +417,7 @@ sub run
|
||||
# Else keep constructing the declaration and implementation
|
||||
else
|
||||
{
|
||||
$strFunctionDeclaration .= "${strLine}\n";
|
||||
$strFunctionDeclaration .= trim($strLine);
|
||||
$strFunctionShim .= "${strLine}\n";
|
||||
}
|
||||
}
|
||||
@ -436,10 +437,10 @@ sub run
|
||||
{
|
||||
my $strLineLast = pop(@stryShimModuleSrcRenamed);
|
||||
|
||||
$strFunctionDeclaration = "${strLineLast} ${strLine}\n";
|
||||
$strFunctionDeclaration = "${strLineLast} ${strLine}";
|
||||
|
||||
$strLine =~ s/^${strFunction}\(/${strFunction}_SHIMMED\(/;
|
||||
$strFunctionShim = "${strLineLast}\n${strLine}\n";
|
||||
$strFunctionShim = "${strLineLast}\n${strLine}";
|
||||
|
||||
$bFound = true;
|
||||
last;
|
||||
|
Reference in New Issue
Block a user