mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 04:13:28 +01:00
Merge remote-tracking branch 'tor-github/pr/1441' into maint-0.4.0
This commit is contained in:
commit
c17ab20ac0
8
changes/bug32108
Normal file
8
changes/bug32108
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
o Major bugfixes (relay):
|
||||||
|
- Relays now respect their AccountingMax bandwidth again. When relays
|
||||||
|
entered "soft" hibernation (which typically starts when we've hit
|
||||||
|
90% of our AccountingMax), we had stopped checking whether we should
|
||||||
|
enter hard hibernation. Soft hibernation refuses new connections and
|
||||||
|
new circuits, but the existing circuits can continue, meaning that
|
||||||
|
relays could have exceeded their configured AccountingMax. Fixes
|
||||||
|
bug 32108; bugfix on 0.4.0.1-alpha.
|
@ -1397,7 +1397,7 @@ STATIC periodic_event_item_t periodic_events[] = {
|
|||||||
/* This is a legacy catch-all callback that runs once per second if
|
/* This is a legacy catch-all callback that runs once per second if
|
||||||
* we are online and active. */
|
* we are online and active. */
|
||||||
CALLBACK(second_elapsed, NET_PARTICIPANT,
|
CALLBACK(second_elapsed, NET_PARTICIPANT,
|
||||||
FL(NEED_NET)|FL(RUN_ON_DISABLE)),
|
FL(RUN_ON_DISABLE)),
|
||||||
|
|
||||||
/* XXXX Do we have a reason to do this on a callback? Does it do any good at
|
/* XXXX Do we have a reason to do this on a callback? Does it do any good at
|
||||||
* all? For now, if we're dormant, we can let our listeners decay. */
|
* all? For now, if we're dormant, we can let our listeners decay. */
|
||||||
|
Loading…
Reference in New Issue
Block a user