aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2010-09-23Merge branch 'bug1511'Nick Mathewson
2010-09-22Rename has_completed_circuit to can_complete_circuitNick Mathewson
Also redocument it. Related to #1362.
2010-09-22Merge remote branch 'arma/bug1362'Nick Mathewson
2010-09-22Changes to bug1959_part1 on review from arma.Nick Mathewson
Significant one: we want to say "not enough entry nodes descriptors, so we can't build circuits" only when we have 0 descriptors.
2010-09-21Make our min-info check also check for entry node presenceNick Mathewson
Part of a fix for bug1959
2010-09-21Even more accurate handling for shifting accounting intervalsNick Mathewson
Roger correctly pointed out that my code was broken for accounting periods that shifted forwards, since start_of_accounting_period_containing(interval_start_time) would not be equal to interval_start_time, but potentially much earlier.
2010-09-21Merge branch 'bug1789'Nick Mathewson
2010-09-21Bug1789 cleanups suggested by armaNick Mathewson
The significant one is that we look at RelayBandwidthRate if it is set.
2010-09-21log when we finish a circuit after being offlineRoger Dingledine
2010-09-21Correct default for RendPostPeriod in docsJohn Brooks
2010-09-21Merge branch 'bug1956'Nick Mathewson
2010-09-20A start at a patch for bug 1943 (alignment issues)Roger Dingledine
2010-09-20Count unknown authorities as unknown only once, not once per signature.Nick Mathewson
Do not double-report signatures from unrecognized authorities both as "from unknown authority" and "not present". Fixes bug 1956, bugfix on 0.2.2.16-alpha.
2010-09-19Attempt to fix compilation on WindowsSebastian Hahn
Our attempt to make compilation work on old versions of Windows again while keeping wince compatibility broke the build for Win2k+. helix reports this patch fixes the issue for WinXP. Bugfix on 0.2.2.15-alpha; related to bug 1797.
2010-09-17bump to 0.2.2.16-alpha-devRoger Dingledine
2010-09-17best tor ever!tor-0.2.2.16-alphaRoger Dingledine
2010-09-16I hear we are close to a release. Clean up the whitespace.Nick Mathewson
2010-09-16Merge remote branch 'sebastian/bug1921'Nick Mathewson
2010-09-16perconnbwrate and perconnbwburst consensus paramsRoger Dingledine
2010-09-16Demote a warn when enabling CellStatisticsSebastian Hahn
When the CellStatistics option is off, we don't store cell insertion times. Doing so would also not be very smart, because there seem to still be some performance issues with this type of statistics. Nothing harmful happens when we don't have insertion times, so we don't need to alarm the user.
2010-09-15finish a comment, lower a variableNick Mathewson
2010-09-15How many seconds until != timestamp of that dateSebastian Hahn
2010-09-15Merge branch 'bug1184'Nick Mathewson
2010-09-15Never queue a cell on a marked circuitNick Mathewson
2010-09-14Add a simple integer-ceiling-division macro before we get it wrongNick Mathewson
2010-09-14Merge branch 'bug1899'Nick Mathewson
2010-09-14Merge branch 'bug911'Nick Mathewson
2010-09-14Extract the "do these routers have the same addr:orport" logic into a fnNick Mathewson
2010-09-14Tweak some issues found by arma in bug911 review.Nick Mathewson
2010-09-14Merge remote branch 'sebastian/bug1776_v3'Nick Mathewson
2010-09-13Make circuit_resume_edge_reading_helper treat streams more fairly.Nick Mathewson
Previously[*], the function would start with the first stream on the circuit, and let it package as many cells as it wanted before proceeding to the next stream in turn. If a circuit had many live streams that all wanted to package data, the oldest would get preference, and the newest would get ignored. Now, we figure out how many cells we're willing to send per stream, and try to allocate them fairly. Roger diagnosed this in the comments for bug 1298. [*] This bug has existed since before the first-ever public release of Tor. It was added by r152 of Tor on 26 Jan 2003, which was the first commit to implement streams (then called "topics"). This is not the oldest bug to be fixed in 0.2.2.x: that honor goes to the windowing bug in r54, which got fixed in e50b7768 by Roger with diagnosis by Karsten. This is, however, the most long-lived bug to be fixed in 0.2.2.x: the r54 bug was fixed 2580 days after it was introduced, whereas I am writing this commit message 2787 days after r152.
2010-09-13Add a max_cells arg to connection_edge_process_raw_inbufNick Mathewson
I'm going to use this to implement more fairness in circuit_resume_edge_reading_helper in an attempt to fix bug 1298. (Updated with fixes from arma and Sebastian)
2010-09-13Fix function declaration linebreaks at start of relay.cNick Mathewson
2010-09-13Merge remote branch 'public/pretty-signature-log'Nick Mathewson
2010-09-13Merge remote branch 'sebastian/bug1525'Nick Mathewson
2010-09-12Merge branch 'bug1138'Nick Mathewson
2010-09-12Make authorities download consensuses if appropriateNick Mathewson
An authority should never download a consensus if it has a live one, but when it doesn't, it should admit that it's not going to get one, and see if anybody else can give it one. Fixes 1300, fix on 0.2.0.9-alpha
2010-09-12Clean up a couple more bug1138 issues mentioned by roger on code reviewNick Mathewson
2010-09-12Handle null conn->requested_resource rather than assertRobert Hogan
Per arma's comments in bug1138
2010-09-12fix regression introduced by 1a65bdd2Roger Dingledine
noticed while reviewing hoganrobert/bug1138
2010-09-09Update to the latest tinytest versionNick Mathewson
This cleans up some whitespace consistency issues and, more importantly, gives you the ability to skip tests from the command line.
2010-09-08Merge remote branch 'origin/maint-0.2.1'Nick Mathewson
2010-09-08Merge remote branch 'karsten/geoip-sep2010' into maint-0.2.1Nick Mathewson
2010-09-08be more consistent in using streamid_tNick Mathewson
2010-09-08Merge branch 'bug1653'Nick Mathewson
2010-09-08Merge remote branch 'origin/maint-0.2.1'Nick Mathewson
2010-09-08Remove a needless keep_open_until_flushedNick Mathewson
2010-09-08Update to the September 1 2010 Maxmind GeoLite Country database.Karsten Loesing
2010-09-06Merge remote branch 'public/win_unicode_fixes'Nick Mathewson
2010-09-03Base our expected bw accounting usage on time before soft limitNick Mathewson
Previously, we were also considering the time spent in soft-hibernation. If this was a long time, we would wind up underestimating our bandwidth by a lot, and skewing our wakeup time towards the start of the accounting interval. This patch also makes us store a few more fields in the state file, including the time at which we entered soft hibernation. Fixes bug 1789. Bugfix on 0.0.9pre5.