- Sep 28, 2011
-
-
Roger Dingledine authored
-
Roger Dingledine authored
-
Roger Dingledine authored
-
Roger Dingledine authored
refilling often is good, but refilling often has unclear side effects on a) cpu load, and b) making sure every cell, ever, is sent out one at a time
-
Roger Dingledine authored
-
Roger Dingledine authored
fixes bug 4124, as noticed in bug 4115
-
Roger Dingledine authored
-
Roger Dingledine authored
-
Roger Dingledine authored
removes another avenue for enumerating bridges.
-
Nick Mathewson authored
Otherwise, we can wind up munging our reference counts if we set it in the middle of loading the nodes. This happens because nodelist_set_consensus() and microdesc_reload_cache() are both in the business of adjusting microdescriptors' references.
-
Nick Mathewson authored
-
Nick Mathewson authored
The fix is to turn held_by_node into a reference count. Fixes bug 4118; bugfix on 0.2.3.1-alpha.
- Sep 27, 2011
-
-
Roger Dingledine authored
we don't need to check whether we don't have enough guards right after concluding that we do have enough. slight efficiency fix suggested by an anonymous fellow on irc.
-
- Sep 25, 2011
-
-
Roger Dingledine authored
-
Roger Dingledine authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
-
- Sep 22, 2011
-
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
We were doing "divide bandwidth by 1000, then multiply by msec", but that would lose accuracy: instead of getting your full bandwidth, you'd lose up to 999 bytes per sec. (Not a big deal, but every byte helps.) Instead, do the multiply first, then the division. This can easily overflow a 32-bit value, so make sure to do it as a 64-bit operation.
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Implements bug3630.
-
- Sep 20, 2011
-
-
Nick Mathewson authored
-
Nick Mathewson authored
-
GCC 4.2 and maybe other compilers optimize away unsigned integer overflow checks of the form (foo + bar < foo), for all bar. Fix one such check in `src/common/OpenBSD_malloc_Linux.c'.
-
- Sep 15, 2011
-
-
Roger Dingledine authored
-
Roger Dingledine authored
-
-
Nick Mathewson authored
This may help diagnose bug 4027.
-
- Sep 14, 2011
-
-
Roger Dingledine authored
-
- Sep 13, 2011
-
-
Roger Dingledine authored
-
Roger Dingledine authored
-
Roger Dingledine authored
-
Roger Dingledine authored
-