[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-bugs] #961 [Tor]: TotalTraffic option (upload+download)



#961: TotalTraffic option (upload+download)
-----------------------------+---------------------------------------
     Reporter:  Athaba       |      Owner:
         Type:  enhancement  |     Status:  needs_revision
     Priority:  minor        |  Milestone:  Tor: 0.2.6.x-final
    Component:  Tor          |    Version:  0.2.0.31
   Resolution:  None         |   Keywords:  accounting easy tor-relay
Actual Points:               |  Parent ID:
       Points:               |
-----------------------------+---------------------------------------

Comment (by chobe):

 Thanks for reviewing my patch.

 I fixed those issues plus another calculation was done in hibernate_begin.

 Also I modified getinfo_helper_accounting to return a more accurate bytes-
 left when queried. I left it in the same format so that automated programs
 like tor-arm don't break, but I'm not entirely sure if it makes things too
 confusing. I'd need to look into tor-arm to make a better solution.

 Not sure why giving a uint64_t to a function that only accepts an int
 doesn't give an warning.

 I attempted to write a test, but I need to learn more about auto-tools to
 make files link properly.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/961#comment:9>
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