| Commit message (Expand) | Author | Age |
* | Be a little more abstract about which connection type use bufferevents | Nick Mathewson | 2010-09-27 |
* | Make a function to mark a connection and set hold_open_until_flushed. | Nick Mathewson | 2010-09-27 |
* | Allow hold-open-until-flushed logic to work for bufferevents. | Nick Mathewson | 2010-09-27 |
* | Move the "stop writing when the buffer is empty" logic to cnnection_finished_... | Nick Mathewson | 2010-09-27 |
* | Add a fetch_from_evbuffer_http | Nick Mathewson | 2010-09-27 |
* | Have edge connections use fetch_from_evbuffer_socks when appropriate. | Nick Mathewson | 2010-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 Mathewson | 2010-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 Mathewson | 2010-09-27 |
* | Clone fetch_var_cell_from_buf() for evbuffers. | Nick Mathewson | 2010-09-27 |
* | Add a new connection_fetch_from_buf_line() that can handle bufferevents | Nick Mathewson | 2010-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 Mathewson | 2010-09-27 |
* | Add bufferevent versions of connection_write/fetch_to/from_buf. | Nick Mathewson | 2010-09-27 |
* | Refactor users of buf_datalen to bufferevent-friendly version. | Nick Mathewson | 2010-09-27 |
* | Teach read_event/write_event manipulators about bufferevents.•••Add an --enable-bufferevents config switch.
| Nick Mathewson | 2010-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 Mathewson | 2010-09-27 |
* | Merge branch 'bug1805' into maint-0.2.2 | Nick Mathewson | 2010-09-27 |
|\ |
|
| * | Clean up some bug1805 comments based on arma's feedback | Nick Mathewson | 2010-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 Hahn | 2010-09-06 |
* | | Implement new Wxx constraints.•••Cases 1 and 3b are provably correct. Case 2b has a fallback to first try to
maximize entropy.
| Mike Perry | 2010-09-27 |
* | | Merge branch 'bug1511' | Nick Mathewson | 2010-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 Mathewson | 2010-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 Mathewson | 2010-09-03 |
| |/ |
|
* | | Rename has_completed_circuit to can_complete_circuit•••Also redocument it. Related to #1362.
| Nick Mathewson | 2010-09-22 |
* | | Merge remote branch 'arma/bug1362' | Nick Mathewson | 2010-09-22 |
|\ \ |
|
| * | | log when we finish a circuit after being offline | Roger Dingledine | 2010-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 Mathewson | 2010-09-22 |
* | | | Make our min-info check also check for entry node presence•••Part of a fix for bug1959
| Nick Mathewson | 2010-09-21 |
* | | | Merge branch 'bug1789' | Nick Mathewson | 2010-09-21 |
|\ \ \
| |/ /
|/| | |
|
| * | | Bug1789 cleanups suggested by arma•••The significant one is that we look at RelayBandwidthRate if it is set.
| Nick Mathewson | 2010-09-21 |
| * | | finish a comment, lower a variable | Nick Mathewson | 2010-09-15 |
| * | | How many seconds until != timestamp of that date | Sebastian Hahn | 2010-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 Mathewson | 2010-09-03 |
| * | | Use a more sophisticated soft-hibernation-limit calculation•••This should help address bug 1789.
| Nick Mathewson | 2010-09-03 |
| * | | Remove an obsolete comment from hibernate.c | Nick Mathewson | 2010-09-03 |
| |/ |
|
* | | Merge branch 'bug1956' | Nick Mathewson | 2010-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 Mathewson | 2010-09-20 |
* | | | A start at a patch for bug 1943 (alignment issues) | Roger Dingledine | 2010-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 Hahn | 2010-09-19 |
* | | I hear we are close to a release. Clean up the whitespace. | Nick Mathewson | 2010-09-16 |
* | | Merge remote branch 'sebastian/bug1921' | Nick Mathewson | 2010-09-16 |
|\ \ |
|
| * | | Demote a warn when enabling CellStatistics•••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.
| Sebastian Hahn | 2010-09-16 |
* | | | perconnbwrate and perconnbwburst consensus params | Roger Dingledine | 2010-09-16 |
|/ / |
|
* | | Merge branch 'bug1184' | Nick Mathewson | 2010-09-15 |
|\ \ |
|
| * | | Never queue a cell on a marked circuit | Nick Mathewson | 2010-09-15 |
| * | | Clear cell queues when marking or truncating a circuit.•••At best, this patch helps us avoid sending queued relayed cells that
would get ignored during the time between when a destroy cell is
sent and when the circuit is finally freed. At worst, it lets us
release some memory a little earlier than it would otherwise.
Fix for bug #1184. Bugfix on 0.2.0.1-alpha.
| Nick Mathewson | 2010-07-30 |
* | | | Add a simple integer-ceiling-division macro before we get it wrong | Nick Mathewson | 2010-09-14 |
* | | | Merge branch 'bug1899' | Nick Mathewson | 2010-09-14 |
|\ \ \ |
|
| * | | | Extract the "do these routers have the same addr:orport" logic into a fn | Nick Mathewson | 2010-09-14 |
| * | | | Launch reachability tests for routers whose IP or ORPort change•••Implements #1899, suggested by Sebastian. Depends on #911 fix.
| Nick Mathewson | 2010-09-03 |
* | | | | Merge branch 'bug911' | Nick Mathewson | 2010-09-14 |
|\ \ \ \ |
|