We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6c3ef64 commit 4f56e61Copy full SHA for 4f56e61
1 file changed
src/assembler.rs
@@ -14,7 +14,7 @@ impl FragmentAssembler {
14
if let Some((_, fragments)) = self.fragments.get_mut(&communication_id) {
15
fragments.push(fragment);
16
} else {
17
- self.fragments.insert(communication_id, (session_id, vec![fragment]));
+ self.fragments.insert(communication_id, (fragment.total_n_fragments, vec![fragment]));
18
}
19
20
let (total, fragments) = self.fragments.get_mut(&communication_id)?;
0 commit comments