From 9e4fb6c0ebf037226f5b9fec16bb1c6df35ac8c8 Mon Sep 17 00:00:00 2001 From: Martin Algesten Date: Tue, 18 Jun 2024 08:57:01 +0200 Subject: [PATCH] Obnoxious log line to be removed --- src/crypto/ossl/io_buf.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/crypto/ossl/io_buf.rs b/src/crypto/ossl/io_buf.rs index 4dbcd196..2f665406 100644 --- a/src/crypto/ossl/io_buf.rs +++ b/src/crypto/ossl/io_buf.rs @@ -44,6 +44,8 @@ impl io::Read for IoBuffer { self.incoming.truncate(0); } else { // Shifting data inside a vector is not good. This should be rare. + // TODO(martin): remove this log line when we know whether this is a common case. + warn!("Data remaining in IoBuffer {}/{}", max, self.incoming.len()); self.incoming.drain(..max); }