[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #13192 [Tor]: Collect aggregate stats of total hidden service usage vs total exit usage in Tor network
#13192: Collect aggregate stats of total hidden service usage vs total exit usage
in Tor network
-------------------------+-------------------------------------------------
Reporter: arma | Owner:
Type: | Status: needs_review
enhancement | Milestone: Tor: 0.2.7.x-final
Priority: major | Version: Tor: 0.2.7
Component: Tor | Keywords: SponsorR, tor-relay, tor-hs,
Resolution: | 027-triaged-1-in
Actual Points: | Parent ID:
Points: small |
-------------------------+-------------------------------------------------
Comment (by nickm):
I'm concerned about the handling of edge cases in
`round_to_next_multiple_of` and the name of `cast_double_to_int64`.
(I think that we should provide the invariant that
round_to_next_multiple_of(a,b), if it returns, returns x st x >= a and x %
b == 0. Otherwise we might someday risk Buffer Problems if somebody relies
on that invariant. Does that make sense?)
(I think "cast_..." should be called "clamp_....".)
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/13192#comment:70>
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