handle out-of-sequence fragment for first fragment

This commit is contained in:
orignal 2014-09-11 08:03:25 -04:00
parent 1b70061169
commit 888a19fdba

View File

@ -121,8 +121,9 @@ namespace tunnel
if (!isFollowOnFragment) // create new incomlete message if (!isFollowOnFragment) // create new incomlete message
{ {
m.nextFragmentNum = 1; m.nextFragmentNum = 1;
HandleOutOfSequenceFragment (msgID, m); auto& msg = m_IncompleteMessages[msgID];
m_IncompleteMessages[msgID] = m; msg = m;
HandleOutOfSequenceFragment (msgID, msg);
} }
else else
{ {