Commit 518b0b3c authored by Nick Mathewson's avatar Nick Mathewson 🦀
Browse files

Do not log a notice on every socks connection

parent 220f419d
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1500,7 +1500,7 @@ connection_handle_listener_read(connection_t *conn, int new_type)
    newconn->address = tor_dup_addr(&addr);

    if (new_type == CONN_TYPE_AP && conn->socket_family != AF_UNIX) {
      log_notice(LD_NET, "New SOCKS connection opened from %s.",
      log_info(LD_NET, "New SOCKS connection opened from %s.",
               fmt_and_decorate_addr(&addr));
      TO_ENTRY_CONN(newconn)->socks_request->socks_prefer_no_auth =
        TO_LISTENER_CONN(conn)->socks_prefer_no_auth;