summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-08-17Remove unused function declarationsSebastian Hahn
Also remove some #if 0'd code from the unit tests for buffers. The code was killed in e6794e58081af773073c266e23fe3ab2ebecdb7e (5 years ago), and is now broken anyways.
2010-08-17Merge branch 'maint-0.2.1'Nick Mathewson
Resolved conflict in src/or/networkstatus.c
2010-08-17Merge branch 'bug1141_v3' into maint-0.2.1Nick Mathewson
2010-08-17Scale CONSENSUS_MIN_SECONDS_BEFORE_CACHING by voting intervalNick Mathewson
If the voting interval was short enough, the two-minutes delay of CONSENSUS_MIN_SECONDS_BEFORE_CACHING would confuse bridges to the point where they would assert before downloading a consensus. It it was even shorter (<4 minutes, I think), caches would assert too. This patch fixes that by having replacing the two-minutes value with MIN(2 minutes, interval/16). Bugfix for 1141; the cache bug could occur since 0.2.0.8-alpha, so I'm calling this a bugfix on that. Robert Hogan diagnosed this. Done as a patch against maint-0.2.1, since it makes it hard to run some kinds of testing networks.
2010-08-16fold in the next set of changelog entriesRoger Dingledine
2010-08-16Merge commit 'public/warn1125'Nick Mathewson
2010-08-16Fix compilation with --with-dmallocKarsten Loesing
Fixes 1832; bugfix on 0.2.2.6-alpha
2010-08-16161b2750 didn't really retry the stream. this does.Roger Dingledine
2010-08-15Make Sebastian's bug1831 branch build with --enable-gcc-warningsNick Mathewson
2010-08-15Merge commit 'sebastian/bug1831'Nick Mathewson
2010-08-15Make Sebastian's misc-reasons branch compile; frob the changes fileNick Mathewson
2010-08-15Merge commit 'sebastian/misc-reason'Nick Mathewson
2010-08-15Make unit tests work when tests get run in subprocesses.Nick Mathewson
Apparently the way we handled cleaning up temporary directories with atexit() meant that when the child process exited, it would remove the temporary directory, thus making other tests in the main process fail.
2010-08-15Rename rep_hist_exit_stats_history in test.c tooNick Mathewson
2010-08-15Add a changes file for Karsten's stats-tests branchNick Mathewson
2010-08-15Merge commit 'karsten/stats-tests'Nick Mathewson
2010-08-15Merge commit 'karsten/stats-manpage'Nick Mathewson
2010-08-16Fix misplaced labelsSebastian Hahn
2010-08-16Add a rule to detect misplaced labels during check-spacesSebastian Hahn
2010-08-16Fix a memory leak in dirvote_compute_consensuses()Sebastian Hahn
2010-08-16Fix a memory leakSebastian Hahn
It happened in dirvote_add_signatures_to_pending_consesus().
2010-08-16Refactor circuit_build_times_parse_stateSebastian Hahn
Remove the msg parameter to pass an error message out. This wasn't needed and made it harder to detect a memory leak.
2010-08-16Fix a memory leak in circuit_build_times_parse_stateSebastian Hahn
Thanks weasel for noticing.
2010-08-15Update man page, now that *Statistics can be changed while Tor is running.Karsten Loesing
2010-08-15Run test_stats in a subprocess.Karsten Loesing
2010-08-15Give rep_hist_exit_stats_history() a better name.Karsten Loesing
2010-08-15Fix memory leak spotted by Nick.Karsten Loesing
2010-08-15reinit per-conn token buckets on config or consensus changeRoger Dingledine
2010-08-15factor out rate/burst setting. no actual changes.Roger Dingledine
2010-08-14fix another piece of 1741Roger Dingledine
2010-08-13changes entry for bug 1741Roger Dingledine
2010-08-13Add check for CIRCUIT_PURPOSE_S_REND_JOINED.Mike Perry
These circuits stick around much longer than others on the server side for performance reasons. Their lifetime is controlled by the client.
2010-08-13fix a memory leak introduced by df1ef2f0f0856afRoger Dingledine
2010-08-13fold in the makefile.am changes entryRoger Dingledine
2010-08-13minor formatting / comment fixesRoger Dingledine
2010-08-12Fix url in rend-specSebastian Hahn
Fixes bug 1822
2010-08-12doc/HACKING: Explain how to find when a given change was introducedChris Ball
2010-08-12Fix a typo in control-specSebastian Hahn
2010-08-11Refactor exit port statistics code and add unit tests.Karsten Loesing
2010-08-11Merge branch 'build-wo-asciidoc-on-bsd'Nick Mathewson
2010-08-11Fix changes/ file for bug #1773.Linus Nordberg
2010-08-11Bug #1773: Revert bad fix (4ef609b8) and do it properly.Linus Nordberg
* doc/Makefile.am: Move $(VAR:MOD) expansions inside "if USE_ASCIIDOC". * doc/Makefile.am: Use proper variable name for text input files. * doc/Makefile.am: Initialize vars to empty when !USE_ASCIIDOC.
2010-08-11changelog entry for f060b18e6c4Roger Dingledine
2010-08-11fold in most of the changes/foo filesRoger Dingledine
2010-08-11tiny change i found in my other sandboxRoger Dingledine
2010-08-10Make buf_shrink_freelists warn, not crash, when n_to_skip is too highNick Mathewson
This mitigates bug 1125, but doesn't fix its root cause (whatever that is).
2010-08-09tiny changes i found in my sandboxRoger Dingledine
2010-08-07Fix a rare bug in rend_fn tests when the randomly generated port is 0Nick Mathewson
Since the rend code doesn't like the port to be 0, we shouldn't generate the port by declaring crypto_rand_int(65536); instead we should say crypto_rand_int(65535)+1. Diagnosed by Matt Edman; fixes bug 1808.
2010-08-06Merge commit 'karsten/stats_v4_rebased'Nick Mathewson
2010-08-05Move exit-stats code to the end of rephist.c.Karsten Loesing