mirror of
https://github.com/LX3JL/xlxd.git
synced 2025-12-06 07:42:01 +01:00
xlxd 2.5.1
Corrected issue with IMRS repeataer disconnecting during very long QSO
This commit is contained in:
parent
190021cc29
commit
2fd3d875dc
|
|
@ -126,10 +126,9 @@ void CImrsProtocol::Task(void)
|
||||||
EncodePongPacket(&Buffer);
|
EncodePongPacket(&Buffer);
|
||||||
m_Socket.Send(Buffer, Ip, IMRS_PORT);
|
m_Socket.Send(Buffer, Ip, IMRS_PORT);
|
||||||
|
|
||||||
// and our turn
|
// our turn
|
||||||
EncodePingPacket(&Buffer);
|
EncodePingPacket(&Buffer);
|
||||||
m_Socket.Send(Buffer, Ip, IMRS_PORT);
|
m_Socket.Send(Buffer, Ip, IMRS_PORT);
|
||||||
|
|
||||||
}
|
}
|
||||||
else if ( IsValidConnectPacket(Buffer, &Callsign) )
|
else if ( IsValidConnectPacket(Buffer, &Callsign) )
|
||||||
{
|
{
|
||||||
|
|
@ -327,6 +326,9 @@ void CImrsProtocol::HandleQueue(void)
|
||||||
m_Socket.Send(buffer, client->GetIp(), IMRS_PORT);
|
m_Socket.Send(buffer, client->GetIp(), IMRS_PORT);
|
||||||
//std::cout << "sending " << buffer.size() << " bytes to " << client->GetIp() << std::endl;
|
//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();
|
g_Reflector.ReleaseClients();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -50,7 +50,7 @@
|
||||||
|
|
||||||
#define VERSION_MAJOR 2
|
#define VERSION_MAJOR 2
|
||||||
#define VERSION_MINOR 5
|
#define VERSION_MINOR 5
|
||||||
#define VERSION_REVISION 0
|
#define VERSION_REVISION 1
|
||||||
|
|
||||||
// global ------------------------------------------------------
|
// global ------------------------------------------------------
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue