Skip to content

Commit

Permalink
Obnoxious log line to be removed
Browse files Browse the repository at this point in the history
  • Loading branch information
algesten committed Jun 18, 2024
1 parent 8857103 commit 9e4fb6c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/crypto/ossl/io_buf.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 9e4fb6c

Please sign in to comment.