relog after invalid server specified [confirmation]
Posted: 10 Apr 2008, 18:06
in DirectConnection.pm i want to change this block of code to re-login after the 'Invalid server specified, server' error.
i looked at the different parts of the file and made a change to it. I just want to know if it's correct or not. Thanks
i looked at the different parts of the file and made a change to it. I just want to know if it's correct or not. Thanks
Code: Select all
} else {
error TF("Invalid server specified, server %s does not exist...\n", $config{server}), "connection";
$timeout_ex{'master'}{'time'} = time;
$timeout_ex{'master'}{'timeout'} = $timeout{'reconnect'}{'timeout'};
$self->serverDisconnect;
undef $conState_tries;
return;
}