Nick Mathewson
d0acaac781
Use a more sophisticated soft-hibernation-limit calculation
...
This should help address bug 1789.
2010-09-03 14:09:55 -04:00
Nick Mathewson
17ebddbbdc
Remove an obsolete comment from hibernate.c
2010-09-03 14:09:55 -04:00
Nick Mathewson
2081740317
Merge branch 'ratelim'
2010-08-31 12:59:36 -04:00
Nick Mathewson
285addbd94
Fix some issues in rate-limiting noticed by Sebastian
2010-08-31 12:52:11 -04:00
Nick Mathewson
c66138609a
Merge remote branch 'origin/maint-0.2.1'
2010-08-26 14:32:22 -04:00
Nick Mathewson
30b766ba12
Use -Wno-system-headers on openbsd to resolve 2nd case of bug1848
2010-08-26 19:03:51 +02:00
Nick Mathewson
2804c6b7ff
Merge commit 'karsten/rendspec-koryk'
2010-08-25 16:44:37 -04:00
Sebastian Hahn
2af6aadfe9
Fix a compile warning on OpenBSD
2010-08-22 13:58:23 +02:00
Nick Mathewson
34551cda6f
Add unit test for tor_listdir.
2010-08-20 13:24:54 -04:00
Nick Mathewson
d8a8e83397
Merge commit 'sebastian/bug1843'
2010-08-20 11:32:38 -04:00
Sebastian Hahn
219f7415d1
Warn for bad combination of cookie options
...
Setting CookieAuthFileGroupReadable but without setting CookieAuthFile makes
no sense, because unix directory permissions for the data directory prevent
the group from accessing the file anyways.
2010-08-20 02:45:10 +02:00
Nick Mathewson
89b424037b
Bump version to 0.2.2.15-alpha-dev
2010-08-19 16:24:31 -04:00
Nick Mathewson
eba3f37f17
fix up contrib/checkOptionDocs.pl to match current practice (asciidoc manpage, no "online docs").
2010-08-19 15:58:46 -04:00
Nick Mathewson
69deb22f34
Fix up compilation on windows.
2010-08-19 14:59:44 -04:00
Roger Dingledine
1f81474b2e
bump to 0.2.2.15-alpha
2010-08-18 19:16:02 -04:00
Roger Dingledine
f6734103e1
fold in even more changelog entries
2010-08-18 16:42:15 -04:00
Roger Dingledine
c1260cb6ec
delay geoip stats even more for relays-turned-bridges
2010-08-18 16:12:44 -04:00
Roger Dingledine
e7956d4a73
explain the non-fix for bug 1776
2010-08-18 16:11:55 -04:00
Nick Mathewson
ba9c1275c4
Add a generic rate-limited log mechanism, and use it in a few places
...
Incidentally fixes bug 1042.
2010-08-18 15:55:49 -04:00
Roger Dingledine
8c87319f3c
bug 1776 isn't fixed. save its changelog entry for next time.
2010-08-18 15:51:47 -04:00
Nick Mathewson
d72edc4b78
Edit the changelog to reflect the fact that we are backing off on ending NOROUTE for now
2010-08-18 13:50:47 -04:00
Nick Mathewson
8c528bc320
Merge commit 'origin/maint-0.2.1'
...
Conflicts:
src/or/reasons.c
2010-08-18 13:48:39 -04:00
Sebastian Hahn
78e4aa63fb
Backport END_STREAM_REASON_NOROUTE for client use.
...
(Partial backport of 150ed553df
, 161b275028
, and 4c948ffd6.)
2010-08-18 11:12:32 -04:00
Nick Mathewson
a509dbba50
Merge commit 'karsten/dirbytes2'
...
Conflicts:
src/or/rephist.h
2010-08-18 10:06:14 -04:00
Karsten Loesing
58b6195455
Correctly report written bytes on linked connections.
2010-08-18 13:54:41 +02:00
Karsten Loesing
db94b7f46e
Count bytes we spend on answering directory requests.
2010-08-18 13:54:41 +02:00
Sebastian Hahn
d5c83f2014
Remove unused function declarations
...
Also remove some #if 0'd code from the unit tests for buffers. The
code was killed in e6794e5808
(5 years
ago), and is now broken anyways.
2010-08-17 23:49:39 +02:00
Nick Mathewson
5ffe105598
Merge branch 'maint-0.2.1'
...
Resolved conflict in
src/or/networkstatus.c
2010-08-17 12:07:19 -04:00
Nick Mathewson
fc66a2ad1b
Merge branch 'bug1141_v3' into maint-0.2.1
2010-08-17 11:55:58 -04:00
Nick Mathewson
6f58481335
Scale CONSENSUS_MIN_SECONDS_BEFORE_CACHING by voting interval
...
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-17 11:55:39 -04:00
Karsten Loesing
8e8a34eb74
Add koryk's modifications to rend-spec.
2010-08-17 10:02:07 +02:00
Roger Dingledine
2ede14c2ca
fold in the next set of changelog entries
2010-08-16 02:02:11 -04:00
Nick Mathewson
bf8d66364f
Merge commit 'public/warn1125'
2010-08-16 00:27:05 -04:00
Karsten Loesing
15379a7254
Fix compilation with --with-dmalloc
...
Fixes 1832; bugfix on 0.2.2.6-alpha
2010-08-16 00:14:06 -04:00
Roger Dingledine
4c948ffd6c
161b2750
didn't really retry the stream. this does.
2010-08-16 00:04:49 -04:00
Nick Mathewson
b51f1a64e4
Make Sebastian's bug1831 branch build with --enable-gcc-warnings
2010-08-15 23:46:09 -04:00
Nick Mathewson
a856f446c7
Merge commit 'sebastian/bug1831'
2010-08-15 23:43:36 -04:00
Nick Mathewson
6a77bde8d8
Make Sebastian's misc-reasons branch compile; frob the changes file
2010-08-15 21:32:06 -04:00
Nick Mathewson
9bcea4a8ef
Merge commit 'sebastian/misc-reason'
2010-08-15 21:27:32 -04:00
Nick Mathewson
5757f47fc3
Make unit tests work when tests get run in subprocesses.
...
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-15 21:20:19 -04:00
Nick Mathewson
8394c70204
Rename rep_hist_exit_stats_history in test.c too
2010-08-15 20:55:24 -04:00
Nick Mathewson
c370ee7aa7
Add a changes file for Karsten's stats-tests branch
2010-08-15 20:54:57 -04:00
Nick Mathewson
8351881b2e
Merge commit 'karsten/stats-tests'
2010-08-15 20:49:37 -04:00
Nick Mathewson
a5d8ed7990
Merge commit 'karsten/stats-manpage'
2010-08-15 20:23:50 -04:00
Sebastian Hahn
561ca9b987
Fix misplaced labels
2010-08-16 00:46:44 +02:00
Sebastian Hahn
a64e660f0e
Add a rule to detect misplaced labels during check-spaces
2010-08-16 00:46:44 +02:00
Sebastian Hahn
b2dcff5766
Fix a memory leak in dirvote_compute_consensuses()
2010-08-16 00:46:44 +02:00
Sebastian Hahn
527581194c
Fix a memory leak
...
It happened in dirvote_add_signatures_to_pending_consesus().
2010-08-16 00:46:42 +02:00
Sebastian Hahn
4c49d3c27e
Refactor circuit_build_times_parse_state
...
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-16 00:45:32 +02:00
Sebastian Hahn
70f0ba1495
Fix a memory leak in circuit_build_times_parse_state
...
Thanks weasel for noticing.
2010-08-16 00:33:29 +02:00