diff --git a/Cargo.toml b/Cargo.toml index d83bedd..b4f904b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tapir-cwtch" -version = "0.1.4" +version = "0.1.5" authors = ["Sarah Jamie Lewis "] edition = "2018" license = "MIT" diff --git a/src/connections/mod.rs b/src/connections/mod.rs index 7b64d86..1765010 100644 --- a/src/connections/mod.rs +++ b/src/connections/mod.rs @@ -88,7 +88,7 @@ impl ConnectionInterface for Connection { let mut result = [0u8; 8192]; match self.conn.read_exact(&mut result) { Err(e) => { - eprintln!("{}", e.to_string()); + //eprintln!("{}", e.to_string()); return vec![]; } _ => {} @@ -105,7 +105,7 @@ impl ConnectionInterface for Connection { let _len_bytes = [0u8; 2]; let len = u16::decode_fixed(&msg[0..2]) as usize; if len > 8192 { - eprintln!("invalid length: {}", len); + //eprintln!("invalid length: {}", len); return vec![]; // lol no. } msg[2..len + 2].to_vec()