[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #2434 [Tor Relay]: Don't disable dirport when accounting limit can't be reached due to bwrate
#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs