[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #1790 [Tor Relay]: Count bytes spent on answering directory requests
#1790: Count bytes spent on answering directory requests
-------------------------+--------------------------------------------------
Reporter: karsten | Owner: karsten
Type: enhancement | Status: needs_review
Priority: normal | Milestone:
Component: Tor Relay | Version:
Keywords: | Parent:
-------------------------+--------------------------------------------------
Comment(by arma):
I think undoing 1c62b9d5fa2 is the right thing to do. We should also put
in a comment as you say. Something like
/* Probably a no-op, since linked conns typically don't count for
bandwidth rate limiting. But do it anyway so we can keep stats accurately.
Note that since we read the bytes from conn, and we're writing the bytes
onto the linked connection, we count these as <i>written</i> bytes. */
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/1790#comment:10>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs