version 1.46, 2003/02/07 22:22:01
|
version 1.48, 2003/03/18 22:51:03
|
Line 722 unless (
|
Line 722 unless (
|
&logthis("<font color=green>INFO Connected to $conserver, initing </font>"); |
&logthis("<font color=green>INFO Connected to $conserver, initing </font>"); |
&status("Init dialogue: $conserver"); |
&status("Init dialogue: $conserver"); |
|
|
$answer = londtransaction($remotesock, "init", 60); |
$answer = londtransaction($remotesock, "init:$conserver", 60); |
chomp($answer); |
chomp($answer); |
$answer = londtransaction($remotesock, $answer, 60); |
$answer = londtransaction($remotesock, $answer, 60); |
chomp($answer); |
chomp($answer); |
Line 975 sub londtransaction {
|
Line 975 sub londtransaction {
|
alarm(0); |
alarm(0); |
}; |
}; |
} else { |
} else { |
if($DEBUG) { |
&logthis("lonc - suiciding on send Timeout"); |
&logthis("Timeout on send in londtransaction"); |
die("lonc - suiciding on send Timeout"); |
} |
|
} |
} |
if( ($@ =~ /timeout/) && ($DEBUG)) { |
if ($@ =~ /timeout/) { |
&logthis("Timeout on receive in londtransaction"); |
&logthis("lonc - suiciding on send Timeout"); |
|
die("lonc - suiciding on send Timeout"); |
} |
} |
# |
# |
# Restore the initial sigmask set. |
# Restore the initial sigmask set. |