]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
core/mainloop: remove noisy logging
authorcypherpunks <cypherpunks@torproject.org>
Thu, 12 Mar 2020 19:55:12 +0000 (19:55 +0000)
committercypherpunks <cypherpunks@torproject.org>
Tue, 24 Mar 2020 05:19:27 +0000 (05:19 +0000)
src/core/mainloop/connection.c

index 3c8527dd53c1ea4126276a6b155d4059e8c09412..218873ae663c27b0f40391f984a749508ff05fcc 100644 (file)
@@ -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;
   }