Skip to content

Commit

Permalink
handle out-of-sequence fragment for first fragment
Browse files Browse the repository at this point in the history
  • Loading branch information
orignal committed Sep 11, 2014
1 parent 1b70061 commit 888a19f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions TunnelEndpoint.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,9 @@ namespace tunnel
if (!isFollowOnFragment) // create new incomlete message
{
m.nextFragmentNum = 1;
HandleOutOfSequenceFragment (msgID, m);
m_IncompleteMessages[msgID] = m;
auto& msg = m_IncompleteMessages[msgID];
msg = m;
HandleOutOfSequenceFragment (msgID, msg);
}
else
{
Expand Down

0 comments on commit 888a19f

Please sign in to comment.