net/message: optional max message bytes limit added

This commit is contained in:
skoupidi
2025-02-28 15:03:35 +02:00
parent 7678346e95
commit b27dec9b45
15 changed files with 102 additions and 80 deletions

View File

@@ -30,5 +30,5 @@ pub struct DchatMsg {
pub msg: String,
}
impl_p2p_message!(DchatMsg, "DchatMsg");
impl_p2p_message!(DchatMsg, "DchatMsg", 0);
// ANCHOR_END: msg