summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-03-30Use timevals, not time_t, when expiring circuits.Nick Mathewson
We've got millisecond timers now, we might as well use them. This change won't actually make circuits get expiered with microsecond precision, since we only call the expiry functions once per second. Still, it should avoid the situation where we have a circuit get expired too early because of rounding. A couple of the expiry functions now call tor_gettimeofday: this should be cheap since we're only doing it once per second. If it gets to be called more often, though, we should onsider having the current time be an argument again.
2011-03-30Implement replacements for timer(add,cmp,sub) on platforms lacking them.Nick Mathewson
2011-03-28Merge remote-tracking branch 'origin/maint-0.2.1' into maint-0.2.2Nick Mathewson
2011-03-28Fix configure.in zlib package names.Erinn Clark
2011-03-27Small tweaks for bug2698 bugfixSebastian Hahn
2011-03-27Fix libevent autoconf bug #2698Jacob Appelbaum
2011-03-18Fix signed/unsigned compare warningNick Mathewson
2011-03-18Merge remote branch 'sebastian/bug2696' into maint-0.2.2Nick Mathewson
2011-03-18Add 2696 changes fileSebastian Hahn
2011-03-18Remove superfluous -g -O2 compiler argumentSebastian Hahn
Autoconf adds -g -O2 by default, so adding it ourselves is not required. It also caused a warning with clang for every source file, so remove it here. Fixes last issue of ticket 2696.
2011-03-17Futz with the clang patch a bit and tidy some geoip.c stuffNick Mathewson
2011-03-16Document a few more members.Nick Mathewson
2011-03-16Resolve the one DOCDOC in the 0.2.2 code atmNick Mathewson
2011-03-16Remove a useless doxygen commentNick Mathewson
2011-03-16Move the decl for tor_gettimofday_cache_clear to the right headerNick Mathewson
2011-03-16add changes file for the doxygen issuesNick Mathewson
2011-03-16Clean up whitespaceNick Mathewson
2011-03-16Doxygen documentation for about 100 things that didn't have anyNick Mathewson
About 860 doxygen-less things remain in 0.2.2
2011-03-16Fix up all doxygen warnings other than "foo is not documented"Nick Mathewson
2011-03-16Turn on the "source browser" feature for our generated HTML.Nick Mathewson
2011-03-16Run "doxygen -u" to update doxygen config file.Nick Mathewson
2011-03-15Merge branch 'bug2756_relay' into maint-0.2.2Nick Mathewson
2011-03-15Fix comment for connection_edge_consider_sending_sendmeNick Mathewson
2011-03-15Merge branch 'bug2757' into maint-0.2.2Nick Mathewson
2011-03-15Merge remote branch 'origin/maint-0.2.1' into maint-0.2.2Nick Mathewson
2011-03-15Fix a compile warning when using clangSebastian Hahn
Issue noticed by Steven Murdoch; fixes bug 2689. The cast didn't do anything, and we don't need to look at the return value of the function here.
2011-03-15Fix a log message typoRobert Ransom
2011-03-15Log the source of a rejected POSTed v3 voteRobert Ransom
Related to ticket 2683.
2011-03-14Check newconn, not conn, before marking newconn for closeNick Mathewson
This fixes bug 2757. It's a bugfix on 85da676108f0d.
2011-03-14Consider sending stream-level SENDME cells on partial flushes.Nick Mathewson
Right now, we only consider sending stream-level SENDME cells when we have completely flushed a connection_edge's outbuf, or when it sends us a DATA cell. Neither of these is ideal for throughput. This patch changes the behavior so we now call connection_edge_consider_sending_sendme when we flush _some_ data from an edge outbuf. Fix for bug 2756; bugfix on svn r152.
2011-03-14Merge remote branch 'origin/maint-0.2.1' into maint-0.2.2Nick Mathewson
2011-03-14Merge remote branch 'arma/bug2510' into maint-0.2.2Nick Mathewson
2011-03-14Merge branch 'bug2511' into bug2510Roger Dingledine
2011-03-14Merge remote branch 'arma/bug2716' into maint-0.2.2Nick Mathewson
2011-03-13fix two issues pointed out by nickmRoger Dingledine
2011-03-13we're not reachable if we don't have a routerinfo yetRoger Dingledine
2011-03-13fix one more typoRoger Dingledine
2011-03-12Tweak bug2716 patch a littleNick Mathewson
Name the magic value "10" rather than re-deriving it. Comment more. Use the pattern that works for periodic timers, not the pattern that doesn't work. ;)
2011-03-11Merge branch 'hsdir_assignment' into maint-0.2.2Nick Mathewson
2011-03-11Clarify threat description and avoid negative uptimes.Nick Mathewson
2011-03-11improve accuracy for when a relay went unreachableRoger Dingledine
2011-03-11Merge commit 'sebastian/bug2663' into maint-0.2.2Roger Dingledine
2011-03-11Merge branch 'maint-0.2.1' into maint-0.2.2Roger Dingledine
2011-03-11put the 0.2.1.30 changes into releasenotesRoger Dingledine
2011-03-11Use observed instead of declared uptime for HSDirSebastian Hahn
It is important to verify the uptime claim of a relay instead of just trusting it, otherwise it becomes too easy to blackhole a specific hidden service. rephist already has data available that we can use here. Bugfix on 0.2.0.10-alpha.
2011-03-10Add a step to the release process: tell trac about the version.Nick Mathewson
2011-03-10Fix compilation under LLVM/clang with --enable-gcc-warningsSteven Murdoch
- When compiling using clang (2.9 or lower) do not enable -Wnormalized=id or -Woverride-init when --enable-gcc-warnings or --enable-gcc-warnings-advisory is set as these options are unsupported.
2011-03-10Fix two compile warnings when using clangSebastian Hahn
Issue found by Steven Murdoch
2011-03-09oops. I got the bug number wrong.Nick Mathewson
2011-03-09openSUSE initscript create /var/run/tor fixes Ticket #2573Andreas Stieger
(changes file added by nickm)