aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Be a little more abstract about which connection type use buffereventsNick Mathewson2010-09-27
|
* Make a function to mark a connection and set hold_open_until_flushed.Nick Mathewson2010-09-27
|
* Allow hold-open-until-flushed logic to work for bufferevents.Nick Mathewson2010-09-27
|
* Move the "stop writing when the buffer is empty" logic to ↵Nick Mathewson2010-09-27
| | | | cnnection_finished_flushing
* Add a fetch_from_evbuffer_httpNick Mathewson2010-09-27
|
* Have edge connections use fetch_from_evbuffer_socks when appropriate.Nick Mathewson2010-09-27
|
* Basic bufferevent callbacksNick Mathewson2010-09-27
| | | | | | These are based strongly on connection_handle_read and connection_handle_write, but hopefully without so much mixture of IO logic and Tor logic.
* Refactor SOCKS parsing code to handle evbuffers.Nick Mathewson2010-09-27
| | | | | Now all of the logic is in a parse_socks() function that gets data from a buf_t or evbuffer-specific wrapper.
* Clone fetch_var_cell_from_buf() for evbuffers.Nick Mathewson2010-09-27
|
* Add a new connection_fetch_from_buf_line() that can handle buffereventsNick Mathewson2010-09-27
|
* New bufferevent-related check in assert_connection_ok().Nick Mathewson2010-09-27
| | | | | {Make sure that if we have a bufferevent on a connection, we do not have the other libevent/buffering-related fields set.}
* Add bufferevent versions of connection_write/fetch_to/from_buf.Nick Mathewson2010-09-27
|
* Refactor users of buf_datalen to bufferevent-friendly version.Nick Mathewson2010-09-27
|
* Teach read_event/write_event manipulators about bufferevents.Nick Mathewson2010-09-27
| | | | Add an --enable-bufferevents config switch.
* Remove never-actually-finished code to use readv and writev for IO.Nick Mathewson2010-09-27
| | | | | We'll get this feature for free with bufferevents, so there's no good reason to clone it in Tor.
* Merge remote branch 'origin/maint-0.2.2'Nick Mathewson2010-09-27
|\
| * Merge branch 'bug1805' into maint-0.2.2Nick Mathewson2010-09-27
| |\
| | * Clean up some bug1805 comments based on arma's feedbackNick Mathewson2010-09-27
| | |
| | * Kill warn when picking bridges without bw weightSebastian Hahn2010-09-06
| | | | | | | | | | | | | | | | | | | | | Bridges and other relays not included in the consensus don't necessarily have a non-zero bandwidth capacity. If all our configured bridges had a zero bw capacity we would warn the user. Change that.
| * | Merge remote branch 'mikeperry/bug1952-merge' into maint-0.2.2Nick Mathewson2010-09-27
| |\ \
| | * | Add changelog for bug 1952.Mike Perry2010-09-27
| | | |
| | * | Update dir-spec.txt with new weight constraints.Mike Perry2010-09-27
| | | |
| | * | Implement new Wxx constraints.Mike Perry2010-09-27
| | | | | | | | | | | | | | | | | | | | Cases 1 and 3b are provably correct. Case 2b has a fallback to first try to maximize entropy.
* | | | Use autoreconf, not autoconf&&automake&&etc in autogen.shNick Mathewson2010-09-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The autoreconf tool deals much better with detecting which tools to use on your particular platform, handling cases where your install-sh script gets stable, and lots of other little tricky issues. We still fall back to autoconf&&automake&&etc in the case where "`which autoreconf 2>/dev/null`" says something we can't run. This is the first change of the 0.2.3.x series.
* | | | Bump the Tor version in master to 0.2.3.0-alpha-devNick Mathewson2010-09-24
|/ / / | | | | | | | | | | | | | | | | | | | | | 0.2.2.x development will continue in branch maint-0.2.2. master is now out of feature freeze. Let's not go crazy right away. :)
* | | Merge remote branch 'sebastian/continuation'Nick Mathewson2010-09-24
|\ \ \ | |/ / |/| |
| * | Note that the torrc format doesn't need nl at endSebastian Hahn2010-09-24
| | |
| * | Tweak continuation-and-comment logicNick Mathewson2010-09-23
| | | | | | | | | | | | | | | I think there was a read-off-the-end-of-the-buffer bug that I fixed. At least I added some good comments, I hope.
| * | Add new torrc line continuation unit testsSebastian Hahn2010-09-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We want to make sure that we don't break old torrc files that might have used something like this made-up example: ContactInfo UberUser <uber@user.com> # /// Fake email! \\\ Log info file /home/nick.mathewson/projects/tor-info.log And we also want to support the following style of writing your torrc: ExcludeNodes \ # Node1337 is run by the Bavarian Illuminati Node1337, \ # The operator of Node99 looked at me funny Node99 The code already handles both cases, but the unit test should help prove it.
| * | Document multiline options in the manpageSebastian Hahn2010-09-11
| | |
| * | Allow comments for multi-line torrc optionsSebastian Hahn2010-09-11
| | |
| * | Support mutli-line torrc options via the usual backslash syntaxNick Mathewson2010-09-10
| | |
* | | Merge branch 'bug1511'Nick Mathewson2010-09-23
|\ \ \
| * | | Even more accurate handling for shifting accounting intervalsNick Mathewson2010-09-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | Tolerate a little skew in accounting intervals.Nick Mathewson2010-09-03
| | |/ | |/| | | | | | | | | | | | | | | | This will make changes for DST still work, and avoid double-spending bytes when there are slight changes to configurations. Fixes bug 1511; the DST issue is a bugfix on 0.0.9pre5.
* | | Rename has_completed_circuit to can_complete_circuitNick Mathewson2010-09-22
| | | | | | | | | | | | Also redocument it. Related to #1362.
* | | Merge remote branch 'arma/bug1362'Nick Mathewson2010-09-22
|\ \ \
| * | | log when we finish a circuit after being offlineRoger Dingledine2010-09-21
| | | |
* | | | Changes to bug1959_part1 on review from arma.Nick Mathewson2010-09-22
| | | | | | | | | | | | | | | | | | | | Significant one: we want to say "not enough entry nodes descriptors, so we can't build circuits" only when we have 0 descriptors.
* | | | Make our min-info check also check for entry node presenceNick Mathewson2010-09-21
| | | | | | | | | | | | | | | | Part of a fix for bug1959
* | | | Merge branch 'bug1789'Nick Mathewson2010-09-21
|\ \ \ \ | |/ / / |/| | |
| * | | Bug1789 cleanups suggested by armaNick Mathewson2010-09-21
| | | | | | | | | | | | | | | | The significant one is that we look at RelayBandwidthRate if it is set.
| * | | finish a comment, lower a variableNick Mathewson2010-09-15
| | | |
| * | | How many seconds until != timestamp of that dateSebastian Hahn2010-09-15
| | | |
| * | | Base our expected bw accounting usage on time before soft limitNick Mathewson2010-09-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | Use a more sophisticated soft-hibernation-limit calculationNick Mathewson2010-09-03
| | | | | | | | | | | | | | | | This should help address bug 1789.
| * | | Remove an obsolete comment from hibernate.cNick Mathewson2010-09-03
| |/ /
* | | Correct default for RendPostPeriod in docsJohn Brooks2010-09-21
| | |
* | | Merge branch 'bug1956'Nick Mathewson2010-09-21
|\ \ \
| * | | Count unknown authorities as unknown only once, not once per signature.Nick Mathewson2010-09-20
| | | | | | | | | | | | | | | | | | | | | | | | 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.