[tor-bugs] #1790 [Tor Relay]: Count bytes spent on answering directory requests

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Wed Aug 18 06:11:53 UTC 2010


#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


More information about the tor-bugs mailing list