summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorcypherpunks <cypherpunks@torproject.org>2020-03-12 19:55:12 +0000
committercypherpunks <cypherpunks@torproject.org>2020-03-24 05:19:27 +0000
commit84fe1c891bc77a2363a119f3c7dc834127bcacc7 (patch)
treeb5e0f6e0150152921247748f6c2f4410ec02474d /src/core
parentfd3e0c154236c59c2972b549500675980bb02507 (diff)
downloadtor-84fe1c891bc77a2363a119f3c7dc834127bcacc7.tar.gz
tor-84fe1c891bc77a2363a119f3c7dc834127bcacc7.zip
core/mainloop: remove noisy logging
Diffstat (limited to 'src/core')
-rw-r--r--src/core/mainloop/connection.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/core/mainloop/connection.c b/src/core/mainloop/connection.c
index 3c8527dd53..218873ae66 100644
--- a/src/core/mainloop/connection.c
+++ b/src/core/mainloop/connection.c
@@ -3687,9 +3687,6 @@ connection_buf_read_from_socket(connection_t *conn, ssize_t *max_to_read,
/* Do not allow inbuf to grow past INT_MAX - 1. */
const ssize_t maximum = INT_MAX - 1 - buf_datalen(conn->inbuf);
if (at_most > maximum) {
- log_debug(LD_NET, "%d: inbuf_datalen=%"TOR_PRIuSZ", adding %"
- TOR_PRIdSZ" might overflow.",
- (int)conn->s, buf_datalen(conn->inbuf), at_most);
at_most = maximum;
}