We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 876346d commit ba6d593Copy full SHA for ba6d593
crates/net/ecies/src/codec.rs
@@ -110,7 +110,7 @@ impl Decoder for ECIESCodec {
110
self.ecies.read_header(&mut buf.split_to(ECIES::header_len()))?;
111
112
if body_size > MAX_INITIAL_HANDSHAKE_SIZE {
113
- trace!(?body_size, max=?MAX_INITIAL_HANDSHAKE_SIZE, "Header exceeds max initial handshake size");
+ trace!(?body_size, max=?MAX_INITIAL_HANDSHAKE_SIZE, "Body exceeds max initial handshake size");
114
return Err(ECIESErrorImpl::InitialHeaderBodyTooLarge {
115
body_size,
116
max_body_size: MAX_INITIAL_HANDSHAKE_SIZE,
0 commit comments