Skip to content

Commit

Permalink
fix: add VERIFY_HEADER_CHECKSUM flag to defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
threadexio committed Jul 11, 2024
1 parent f4d7f39 commit 339e82d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion channels/src/receiver.rs
Original file line number Diff line number Diff line change
Expand Up @@ -680,7 +680,8 @@ impl Default for Config {
NonZeroUsize::new(PacketLength::MAX.as_usize())
.expect("PacketLength::MAX should not be 0"),
),
flags: Self::VERIFY_PACKET_ORDER,
flags: Self::VERIFY_PACKET_ORDER
| Self::VERIFY_HEADER_CHECKSUM,
}
}
}
Expand Down

0 comments on commit 339e82d

Please sign in to comment.