aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Expand)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 cnnection_finished_...Nick Mathewson2010-09-27
* 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 callbacks•••These are based strongly on connection_handle_read and connection_handle_write, but hopefully without so much mixture of IO logic and Tor logic. Nick Mathewson2010-09-27
* Refactor SOCKS parsing code to handle evbuffers.•••Now all of the logic is in a parse_socks() function that gets data from a buf_t or evbuffer-specific wrapper. Nick Mathewson2010-09-27
* 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().•••{Make sure that if we have a bufferevent on a connection, we do not have the other libevent/buffering-related fields set.} Nick Mathewson2010-09-27
* 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.•••Add an --enable-bufferevents config switch. Nick Mathewson2010-09-27
* Remove never-actually-finished code to use readv and writev for IO.•••We'll get this feature for free with bufferevents, so there's no good reason to clone it in Tor. Nick Mathewson2010-09-27
* 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 weight•••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. Sebastian Hahn2010-09-06
| * | Merge remote branch 'mikeperry/bug1952-merge' into maint-0.2.2Nick Mathewson2010-09-27
| |\ \
| | * | Implement new Wxx constraints.•••Cases 1 and 3b are provably correct. Case 2b has a fallback to first try to maximize entropy. Mike Perry2010-09-27
* | | | Bump the Tor version in master to 0.2.3.0-alpha-dev•••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. :) Nick Mathewson2010-09-24
|/ / /
* | | 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 logic•••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. Nick Mathewson2010-09-23
| * | Add new torrc line continuation unit tests•••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. Sebastian Hahn2010-09-23
| * | 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 intervals•••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. Nick Mathewson2010-09-21
| * | | Tolerate a little skew in accounting intervals.•••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. Nick Mathewson2010-09-03
| | |/ | |/|
* | | Rename has_completed_circuit to can_complete_circuit•••Also redocument it. Related to #1362. Nick Mathewson2010-09-22
* | | 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.•••Significant one: we want to say "not enough entry nodes descriptors, so we can't build circuits" only when we have 0 descriptors. Nick Mathewson2010-09-22
* | | | Make our min-info check also check for entry node presence•••Part of a fix for bug1959 Nick Mathewson2010-09-21
* | | | Merge branch 'bug1789'Nick Mathewson2010-09-21
|\ \ \ \ | |/ / / |/| | |
| * | | Bug1789 cleanups suggested by arma•••The significant one is that we look at RelayBandwidthRate if it is set. Nick Mathewson2010-09-21
| * | | 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 limit•••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. Nick Mathewson2010-09-03
| * | | Use a more sophisticated soft-hibernation-limit calculation•••This should help address bug 1789. Nick Mathewson2010-09-03
| * | | 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.•••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. Nick Mathewson2010-09-20
* | | | A start at a patch for bug 1943 (alignment issues)Roger Dingledine2010-09-20
|/ / /
* | | Attempt to fix compilation on Windows•••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. Sebastian Hahn2010-09-19
* | | bump to 0.2.2.16-alpha-devRoger Dingledine2010-09-17
* | | best tor ever!Roger Dingledine2010-09-17