Nick Mathewson
|
bb80d60fe7
Hibernate if we start tor during the "wait for wakeup-time" phase of an accounting interval. Log our hibernation plans better.
|
hace 19 años |
Nick Mathewson
|
60880cda84
Resolve a bunch of FIXME items; mark a lot more for attention; ask for clarification on some. Turn all XXXX008 ("showstopper for 0.0.8 release") items into XXXX009 or XXXX, since plainly they were not showstoppers for 0.0.8. Add/clean some docs.
|
hace 19 años |
Nick Mathewson
|
ec49905fb8
When we think we have no bandwidth, guess that we will run for 1 day.
|
hace 19 años |
Nick Mathewson
|
c1bf171ed8
Fix a few bugs in accounting: parse bw_accounting correctly; set end time of continued interval; record used bandwidth on state change.
|
hace 19 años |
Nick Mathewson
|
5a5be93f80
Normalize whitespace; add a "tell me about all the unnormalized whitespace" target; fix a braino in dirserv.c
|
hace 19 años |
Roger Dingledine
|
ca070e7de6
bugfix: ^c ought to work even while hibernating
|
hace 19 años |
Roger Dingledine
|
6521c2ce51
Stop using the wrong DataDirectory when we're validating.
|
hace 19 años |
Roger Dingledine
|
e3a067c73a
fix comments in hibernate.c
|
hace 19 años |
Roger Dingledine
|
8c7b2ff7ed
various fixes
|
hace 19 años |
Nick Mathewson
|
2640be28fa
Document hibernate.c. Also fix handling of corner case where we hit the end of the interval while we are in HIBERNATE_STATE_LOWBANDWIDTH
|
hace 19 años |
Roger Dingledine
|
394554cfbf
Clean up copyrights.
|
hace 19 años |
Roger Dingledine
|
28a297ebe7
only play the accounting game if it's possible you'll choose to hibernate
|
hace 19 años |
Roger Dingledine
|
6c61ed4fb5
Make options no longer a global variable.
|
hace 19 años |
Nick Mathewson
|
7c0792d89a
Write hibernation code. Needs docs and tests.
|
hace 19 años |
Roger Dingledine
|
2ba3a9de16
make the default default options.FirewallPorts be the default
|
hace 19 años |
Nick Mathewson
|
19868fe968
Move accounting code into hibernate; start adding logic to track bandwidth-per-seconds-active
|
hace 19 años |
Nick Mathewson
|
8db0abb687
First attempt at hibernation code. It needs more work around the XXXXs, but first I want arma to review the basic approach while I meditate on how to fix them.
|
hace 19 años |
Roger Dingledine
|
790349c645
oh, and add the actual file too
|
hace 19 años |