Browse Source

handle out-of-sequence fragment for first fragment

pull/97/head
orignal 10 years ago
parent
commit
888a19fdba
  1. 5
      TunnelEndpoint.cpp

5
TunnelEndpoint.cpp

@ -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
{ {

Loading…
Cancel
Save