radicle-heartwood-lfs/crates/radicle-protocol
Lorenz Leutgeb a8426dfdac protocol: Fix panic when serializing large frames
In 3c5668edd2 I mistakenly moved the check
the length of an encoded `wire::Message` from its `impl wire::Encode` to
the `fn serialize`, so that it would not apply only to messages (as
originally intended), but to *any* argument of `serialize`.

This is not a problem for gossip messages, but catastrophic for Git
streams, which tend to send a lot of data.

The fix is simple: Move the check back into `impl Encode for Message`.
2025-08-25 11:57:44 +01:00
..
src protocol: Fix panic when serializing large frames 2025-08-25 11:57:44 +01:00
Cargo.toml fix: upgrade radicle-crypto 2025-08-13 09:20:42 +01:00