[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor/master] core/mainloop: remove noisy logging



commit 84fe1c891bc77a2363a119f3c7dc834127bcacc7
Author: cypherpunks <cypherpunks@xxxxxxxxxxxxxx>
Date:   Thu Mar 12 19:55:12 2020 +0000

    core/mainloop: remove noisy logging
---
 src/core/mainloop/connection.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/src/core/mainloop/connection.c b/src/core/mainloop/connection.c
index 3c8527dd5..218873ae6 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;
   }
 



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits