Skip to content

Commit

Permalink
[core] Fixed missing pktSentUnique stats for backup
Browse files Browse the repository at this point in the history
  • Loading branch information
maxsharabayko committed Feb 26, 2021
1 parent 1dced8b commit e90b332
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions srtcore/group.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4154,6 +4154,9 @@ int CUDTGroup::sendBackup(const char* buf, int len, SRT_MSGCTRL& w_mc)
throw CUDTException(MJ_CONNECTION, MN_CONNLOST, 0);
}

// At least one link has succeeded, update sending stats.
m_stats.sent.Update(len);

// Now fill in the socket table. Check if the size is enough, if not,
// then set the pointer to NULL and set the correct size.

Expand Down

0 comments on commit e90b332

Please sign in to comment.