[tor-bugs] #25839 [Core Tor/Tor]: conn: Move connection bandwidth stuff into its own file

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Apr 18 15:33:15 UTC 2018


#25839: conn: Move connection bandwidth stuff into its own file
------------------------------+------------------------------
     Reporter:  dgoulet       |      Owner:  (none)
         Type:  defect        |     Status:  new
     Priority:  Medium        |  Milestone:  Tor: unspecified
    Component:  Core Tor/Tor  |    Version:
     Severity:  Normal        |   Keywords:  easy, refactor
Actual Points:                |  Parent ID:
       Points:                |   Reviewer:
      Sponsor:                |
------------------------------+------------------------------
 In connection.c, we have the connection's bw management which means there
 are lots of functions only dealing with the {{{global_bucket}}} and per-
 connection rw bucket.

 We could move all this to its own file like {{{connection_bw.c}}} to
 offload connection.c making it nicer, clearer and more modularized.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/25839>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list