mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-25 23:21:38 +01:00
core/mainloop: remove noisy logging
This commit is contained in:
parent
fd3e0c1542
commit
84fe1c891b
1 changed files with 0 additions and 3 deletions
|
@ -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. */
|
/* Do not allow inbuf to grow past INT_MAX - 1. */
|
||||||
const ssize_t maximum = INT_MAX - 1 - buf_datalen(conn->inbuf);
|
const ssize_t maximum = INT_MAX - 1 - buf_datalen(conn->inbuf);
|
||||||
if (at_most > maximum) {
|
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;
|
at_most = maximum;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue