From 44d750fbcd6bf68d0cf07b4a6edb90d23dc63a59 Mon Sep 17 00:00:00 2001 From: Chris Connelly Date: Thu, 12 Aug 2021 12:17:52 +0100 Subject: [PATCH] chore!: Remove unused `Config::max_msg_size_allowed` BREAKING CHANGE: `Config::max_msg_size_allowed` has been removed. --- src/config.rs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/config.rs b/src/config.rs index 832a617f..6dc574f4 100644 --- a/src/config.rs +++ b/src/config.rs @@ -56,11 +56,6 @@ pub struct Config { /// using the Echo service. #[structopt(long)] pub external_ip: Option, - /// This is the maximum message size we'll allow the peer to send to us. Any bigger message and - /// we'll error out probably shutting down the connection to the peer. If none supplied we'll - /// default to the documented constant. - #[structopt(long)] - pub max_msg_size_allowed: Option, /// If we hear nothing from the peer in the given interval we declare it offline to us. If none /// supplied we'll default to the documented constant. ///