many, many changes

This commit is contained in:
Jeff Hill
2000-08-25 01:52:33 +00:00
parent 0bf430d822
commit f830e99e58
58 changed files with 6266 additions and 4410 deletions
+5 -10
View File
@@ -29,14 +29,7 @@ tcpRecvWatchdog::~tcpRecvWatchdog ()
void tcpRecvWatchdog::expire ()
{
/*
* remain backwards compatible with old servers
* ( this isnt an echo request )
*/
if ( ! this->echoProtocolAccepted ) {
this->noopRequestMsg ();
}
else if ( this->responsePending ) {
if ( this->responsePending ) {
char hostName[128];
this->hostName ( hostName, sizeof (hostName) );
ca_printf ( "CA server %s unresponsive for %g sec. Disconnecting.\n",
@@ -44,8 +37,10 @@ void tcpRecvWatchdog::expire ()
this->shutdown ();
}
else {
this->echoRequestMsg ();
this->responsePending = true;
this->echoRequest ();
if ( this->echoProtocolAccepted ) {
this->responsePending = true;
}
}
}