Reset eliding of duplicate UDP messages if a Replay message is received

UDP message servers will not receive  a Status until some status field
changes if  they join a network  with existing clients. To  avoid this
receipt  of a  Replay message,  which should  be the  first message  a
server sends  after negotiating the  schema, now cuases  the duplicate
message check  to be  disabled for  the next  message. This  should be
sufficient for servers to get into sync.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6459 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Bill Somerville 2016-02-02 01:48:08 +00:00
parent 95259fddfe
commit 9e55d08eb6

View File

@ -158,6 +158,7 @@ void MessageClient::impl::parse_message (QByteArray const& msg)
case NetworkMessage::Replay:
if (check_status (in) != Fail)
{
last_message_.clear ();
Q_EMIT self_->replay ();
}
break;