Corrected issue with IMRS repeataer disconnecting during very long QSO
pull/209/head
LX3JL 4 years ago
parent 190021cc29
commit 2fd3d875dc

@ -126,10 +126,9 @@ void CImrsProtocol::Task(void)
EncodePongPacket(&Buffer);
m_Socket.Send(Buffer, Ip, IMRS_PORT);
// and our turn
// our turn
EncodePingPacket(&Buffer);
m_Socket.Send(Buffer, Ip, IMRS_PORT);
}
else if ( IsValidConnectPacket(Buffer, &Callsign) )
{
@ -327,6 +326,9 @@ void CImrsProtocol::HandleQueue(void)
m_Socket.Send(buffer, client->GetIp(), IMRS_PORT);
//std::cout << "sending " << buffer.size() << " bytes to " << client->GetIp() << std::endl;
}
// as DR-2X doesn't seems to respond to keepalives when receiving a stream
// tickle the keepalive timer here
client->Alive();
}
g_Reflector.ReleaseClients();
}

@ -50,7 +50,7 @@
#define VERSION_MAJOR 2
#define VERSION_MINOR 5
#define VERSION_REVISION 0
#define VERSION_REVISION 1
// global ------------------------------------------------------

Loading…
Cancel
Save

Powered by TurnKey Linux.