aboutsummaryrefslogtreecommitdiff
path: root/src/or/hibernate.c
Commit message (Collapse)AuthorAge
* Fix out-of-place declarationNick Mathewson2005-07-23
| | | | svn:r4640
* Be consistent about preferring foo* to struct foo*Nick Mathewson2005-07-22
| | | | svn:r4637
* Add getinfo logic for accounting; add options for helper nodesNick Mathewson2005-07-22
| | | | svn:r4632
* Docment or add DOCDOC comments to undocumented functions in src/or. Make ↵Nick Mathewson2005-06-11
| | | | | | function definition format uniform. svn:r4411
* Change end-of-file NLNL convention. It turns out arma I and I agree.Nick Mathewson2005-06-09
| | | | svn:r4382
* New whitespace normalization rule: no blank line at EOF.Nick Mathewson2005-06-09
| | | | svn:r4378
* Give better warnings if connection_close_unattached_ap gets called twice or ↵Nick Mathewson2005-04-02
| | | | | | called on a marked connection; rename it to connection_mark_unattached_ap. svn:r3990
* update copyright notices.Nick Mathewson2005-04-01
| | | | svn:r3982
* stop most cases of hanging up on a socks connection without sendingRoger Dingledine2005-03-27
| | | | | | | | the socks reject. audit for remaining ones. also make things more uniform so we always remember to hold-open-until-flushed, etc. svn:r3891
* change SHUTDOWN_WAIT_LENGTH from a fixed 30 secs to a config optionRoger Dingledine2005-03-12
| | | | svn:r3752
* Revise all calls to connection_edge_end to avoid sending MISC, and to take ↵Nick Mathewson2005-03-01
| | | | | | errno into account where possible. svn:r3720
* Patch to localtime/gmtime handling: use the _r variants where available. ↵Nick Mathewson2005-02-22
| | | | | | Use mutexes to fake _r where necessary. Make mutexes no-ops where no threading is enabled. svn:r3653
* if we're hibernating and we get a sigint, exit immediately.Roger Dingledine2005-02-10
| | | | | | | closes bug 91. svn:r3611
* note a bug that wmf just foundRoger Dingledine2005-02-02
| | | | svn:r3503
* Go into soft hibernation after 95% of the bandwidth is used,Roger Dingledine2005-02-01
| | | | | | | | | not 99%. This is especially important for daily hibernators who have a small accounting max. Hopefully it will result in fewer cut connections when the hard hibernation starts. svn:r3488
* reset published uptime when you wake up from hibernation,Roger Dingledine2005-01-14
| | | | | | | | since if you hibernate daily a published uptime of >1day will be misleading. svn:r3356
* Make split(..., NULL) split on horizontal space; fix bug with tabs in config ↵Nick Mathewson2004-12-16
| | | | | | file. svn:r3155
* clean up logging,Roger Dingledine2004-12-13
| | | | | | | | | make it clearer which warns are bugs, make the control log event match its specification, point out a bug in how we deal with failure when renewing the tls context. svn:r3138
* make the 64 bit args print correctly on 64 bit archsRoger Dingledine2004-12-08
| | | | svn:r3123
* Log contents of bw_accounting when we read it; fix memory leak.Nick Mathewson2004-12-07
| | | | svn:r3118
* send an end to the streams we close when we hibernate, ratherRoger Dingledine2004-12-05
| | | | | | | than just chopping them off svn:r3083
* talk about quotas rather than bandwidths, in the logsRoger Dingledine2004-12-05
| | | | svn:r3080
* Spell-check strings and commentsNick Mathewson2004-12-01
| | | | svn:r3052
* Suggestion from weasel: Make tor --version --version dump the cvs Id of ↵Nick Mathewson2004-11-29
| | | | | | every file. svn:r3019
* Normalize space: add one between every control keyword and control clause.Nick Mathewson2004-11-28
| | | | svn:r3003
* Better notice for hibernate interval spans; when estimate is 0, start out awake.Nick Mathewson2004-11-23
| | | | svn:r2963
* another slightly less confusing messageRoger Dingledine2004-11-23
| | | | | | | | | nick: we need to figure out if we should say anything different here when the wake-up time and the expected back-to-sleep time have both passed. svn:r2956
* less confusing message upon hibernationRoger Dingledine2004-11-23
| | | | svn:r2955
* fix some typos; move to 0.0.9rc1Roger Dingledine2004-11-23
| | | | svn:r2951
* Compile cleanly on windows; prevent some insane bandwidth cases (e.g., ↵Nick Mathewson2004-11-22
| | | | | | "BandwidthBurst 1000 TB" from occuring. svn:r2941
* Normalize spaceNick Mathewson2004-11-22
| | | | svn:r2939
* Implement weekly/monthly/daily accountingNick Mathewson2004-11-22
| | | | svn:r2936
* Call init_keys() where needed; fix hibernate bug.Nick Mathewson2004-11-21
| | | | svn:r2924
* kill -USR2 now moves all logs to loglevel debugRoger Dingledine2004-11-20
| | | | | | | plus fix some typos svn:r2914
* Add "MEMUNIT" and "INTERVAL" types to configuration. Also tweak Accounting ↵Nick Mathewson2004-11-20
| | | | | | setup. More docs needed svn:r2911
* add a TODO item and some comment changes.Nick Mathewson2004-11-16
| | | | svn:r2904
* fix a bug in configuring accounting in options_act()Roger Dingledine2004-11-15
| | | | svn:r2881
* Fix compilation. Duh.Nick Mathewson2004-11-14
| | | | svn:r2876
* Resolve some hibernating-related XXXX009s.Nick Mathewson2004-11-14
| | | | svn:r2875
* Hibernate if we start tor during the "wait for wakeup-time" phase of an ↵Nick Mathewson2004-11-14
| | | | | | accounting interval. Log our hibernation plans better. svn:r2869
* Resolve a bunch of FIXME items; mark a lot more for attention; ask for ↵Nick Mathewson2004-11-12
| | | | | | 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. svn:r2808
* When we think we have no bandwidth, guess that we will run for 1 day.Nick Mathewson2004-11-10
| | | | svn:r2795
* Fix a few bugs in accounting: parse bw_accounting correctly; set end time of ↵Nick Mathewson2004-11-10
| | | | | | continued interval; record used bandwidth on state change. svn:r2785
* Normalize whitespace; add a "tell me about all the unnormalized whitespace" ↵Nick Mathewson2004-11-09
| | | | | | target; fix a braino in dirserv.c svn:r2758
* bugfix: ^c ought to work even while hibernatingRoger Dingledine2004-11-09
| | | | svn:r2748
* Stop using the wrong DataDirectory when we're validating.Roger Dingledine2004-11-09
| | | | | | | Also validate/normalize the DataDirectory better. svn:r2732
* fix comments in hibernate.cRoger Dingledine2004-11-09
| | | | svn:r2714
* various fixesRoger Dingledine2004-11-09
| | | | svn:r2712
* Document hibernate.c. Also fix handling of corner case where we hit the end ↵Nick Mathewson2004-11-07
| | | | | | of the interval while we are in HIBERNATE_STATE_LOWBANDWIDTH svn:r2709
* Clean up copyrights.Roger Dingledine2004-11-07
| | | | | | | | Break connection_consider_empty_buckets() out of connection_read_bucket_decrement(). svn:r2698