[tor-bugs] #2434 [Tor Relay]: Don't disable dirport when accounting limit can't be reached due to bwrate
Tor Bug Tracker & Wiki
torproject-admin at torproject.org
Mon Jan 9 17:57:44 UTC 2012
#2434: Don't disable dirport when accounting limit can't be reached due to bwrate
---------------------------+------------------------------------------------
Reporter: Sebastian | Owner:
Type: defect | Status: needs_review
Priority: normal | Milestone: Tor: 0.2.3.x-final
Component: Tor Relay | Version:
Keywords: small-feature | Parent:
Points: | Actualpoints:
---------------------------+------------------------------------------------
Changes (by nickm):
* keywords: => small-feature
Comment:
I'm a little worried about a case where accounting_get_interval_time()
returns 0 and we divide by it. Can we add a defensive programming check
for that? Also, let's maybe log the values here at log_info severity, so
we can track down any infelicities in the equation.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/2434#comment:9>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list