aboutsummaryrefslogtreecommitdiff
path: root/src/or/hibernate.c
AgeCommit message (Collapse)Author
2005-11-14Fix number in error messageNick Mathewson
svn:r5369
2005-10-25Remove last vestiges of old logging interface.Nick Mathewson
svn:r5317
2005-10-25Switch remaining files to new log interface.Nick Mathewson
svn:r5315
2005-09-13a bit more code cleanupRoger Dingledine
svn:r5033
2005-08-08fix whitespace issuesNick Mathewson
svn:r4752
2005-07-28Possibly broken implementation of persistant state; handles helper nodes; ↵Nick Mathewson
does not handle accounting info yet. svn:r4680
2005-07-23Fix out-of-place declarationNick Mathewson
svn:r4640
2005-07-22Be consistent about preferring foo* to struct foo*Nick Mathewson
svn:r4637
2005-07-22Add getinfo logic for accounting; add options for helper nodesNick Mathewson
svn:r4632
2005-06-11Docment or add DOCDOC comments to undocumented functions in src/or. Make ↵Nick Mathewson
function definition format uniform. svn:r4411
2005-06-09Change end-of-file NLNL convention. It turns out arma I and I agree.Nick Mathewson
svn:r4382
2005-06-09New whitespace normalization rule: no blank line at EOF.Nick Mathewson
svn:r4378
2005-04-02Give better warnings if connection_close_unattached_ap gets called twice or ↵Nick Mathewson
called on a marked connection; rename it to connection_mark_unattached_ap. svn:r3990
2005-04-01update copyright notices.Nick Mathewson
svn:r3982
2005-03-27stop most cases of hanging up on a socks connection without sendingRoger Dingledine
the socks reject. audit for remaining ones. also make things more uniform so we always remember to hold-open-until-flushed, etc. svn:r3891
2005-03-12change SHUTDOWN_WAIT_LENGTH from a fixed 30 secs to a config optionRoger Dingledine
svn:r3752
2005-03-01Revise all calls to connection_edge_end to avoid sending MISC, and to take ↵Nick Mathewson
errno into account where possible. svn:r3720
2005-02-22Patch to localtime/gmtime handling: use the _r variants where available. ↵Nick Mathewson
Use mutexes to fake _r where necessary. Make mutexes no-ops where no threading is enabled. svn:r3653
2005-02-10if we're hibernating and we get a sigint, exit immediately.Roger Dingledine
closes bug 91. svn:r3611
2005-02-02note a bug that wmf just foundRoger Dingledine
svn:r3503
2005-02-01Go into soft hibernation after 95% of the bandwidth is used,Roger Dingledine
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
2005-01-14reset published uptime when you wake up from hibernation,Roger Dingledine
since if you hibernate daily a published uptime of >1day will be misleading. svn:r3356
2004-12-16Make split(..., NULL) split on horizontal space; fix bug with tabs in config ↵Nick Mathewson
file. svn:r3155
2004-12-13clean up logging,Roger Dingledine
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
2004-12-08make the 64 bit args print correctly on 64 bit archstor-0.0.9rc7Roger Dingledine
svn:r3123
2004-12-07Log contents of bw_accounting when we read it; fix memory leak.Nick Mathewson
svn:r3118
2004-12-05send an end to the streams we close when we hibernate, ratherRoger Dingledine
than just chopping them off svn:r3083
2004-12-05talk about quotas rather than bandwidths, in the logsRoger Dingledine
svn:r3080
2004-12-01Spell-check strings and commentsNick Mathewson
svn:r3052
2004-11-29Suggestion from weasel: Make tor --version --version dump the cvs Id of ↵Nick Mathewson
every file. svn:r3019
2004-11-28Normalize space: add one between every control keyword and control clause.Nick Mathewson
svn:r3003
2004-11-23Better notice for hibernate interval spans; when estimate is 0, start out awake.Nick Mathewson
svn:r2963
2004-11-23another slightly less confusing messageRoger Dingledine
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
2004-11-23less confusing message upon hibernationRoger Dingledine
svn:r2955
2004-11-23fix some typos; move to 0.0.9rc1Roger Dingledine
svn:r2951
2004-11-22Compile cleanly on windows; prevent some insane bandwidth cases (e.g., ↵Nick Mathewson
"BandwidthBurst 1000 TB" from occuring. svn:r2941
2004-11-22Normalize spaceNick Mathewson
svn:r2939
2004-11-22Implement weekly/monthly/daily accountingNick Mathewson
svn:r2936
2004-11-21Call init_keys() where needed; fix hibernate bug.Nick Mathewson
svn:r2924
2004-11-20kill -USR2 now moves all logs to loglevel debugRoger Dingledine
plus fix some typos svn:r2914
2004-11-20Add "MEMUNIT" and "INTERVAL" types to configuration. Also tweak Accounting ↵Nick Mathewson
setup. More docs needed svn:r2911
2004-11-16add a TODO item and some comment changes.Nick Mathewson
svn:r2904
2004-11-15fix a bug in configuring accounting in options_act()Roger Dingledine
svn:r2881
2004-11-14Fix compilation. Duh.Nick Mathewson
svn:r2876
2004-11-14Resolve some hibernating-related XXXX009s.Nick Mathewson
svn:r2875
2004-11-14Hibernate if we start tor during the "wait for wakeup-time" phase of an ↵Nick Mathewson
accounting interval. Log our hibernation plans better. svn:r2869
2004-11-12Resolve a bunch of FIXME items; mark a lot more for attention; ask for ↵Nick Mathewson
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
2004-11-10When we think we have no bandwidth, guess that we will run for 1 day.Nick Mathewson
svn:r2795
2004-11-10Fix a few bugs in accounting: parse bw_accounting correctly; set end time of ↵tor-0.0.9pre5Nick Mathewson
continued interval; record used bandwidth on state change. svn:r2785
2004-11-09Normalize whitespace; add a "tell me about all the unnormalized whitespace" ↵Nick Mathewson
target; fix a braino in dirserv.c svn:r2758