| Commit message (Collapse) | Author | Age |
| ... | |
| |
|
|
|
|
|
| |
Yet another attempted Bug 411 fix: Under some circumstances, a circuit can have cells without being active. The likeliest is that it has been unlinked from all connections in preparation for closing. Therefore, stop enforcing this non-invariant.
svn:r9936
|
| |
|
|
|
|
|
| |
Split type of "packed cell" from "parsed cell"; pack cells before queueing them on circuits. This will help us avoid dumb errors when we confuse the two types.
svn:r9935
|
| |
|
|
|
|
|
| |
Argh, missed another 9030 bogon.
svn:r9934
|
| |
|
|
|
|
|
| |
Clean up crap from 9930. I can hardly wait till I trust SVK 2.x enough to upgrade.
svn:r9933
|
| |
|
|
|
|
|
| |
Simplify dns_resolve: use a helper function so that we handle the error/answer/pending cases uniformly in dns_resolve, and everything else in dns_resolve_impl.
svn:r9932
|
| |
|
|
|
|
|
| |
Try to fix bug 410: move responsibility for attaching/detaching initial streams from circuits into dns_resolve. Needs refactoring a little.
svn:r9931
|
| | |
|
| |
|
|
|
|
|
| |
Fix the first half of bug 411: when we make a circuit active inactive on a connection, it _must_ actually be on that connection.
svn:r9929
|
| |
|
|
|
|
|
| |
Fix second part of bug 411 (which was actually a separate bug): it isnt safe to clear a cell queue while the circuit is active.
svn:r9928
|
| |
|
|
|
|
|
|
|
| |
we get one we don't recognize.
backport candidate.
backbackport candidate.
svn:r9918
|
| |
|
|
| |
svn:r9917
|
| |
|
|
|
|
| |
to close the connection or otherwise unlink the circuit, which makes the circuit nonactive, which invalidates the pointer from the circuit to the next circuit on the active ring. Also add a bunch of asserts, most #ifdefed out.
svn:r9915
|
| |
|
|
| |
svn:r9914
|
| |
|
|
|
|
| |
potentially dangerous. (see comment for details)
svn:r9913
|
| |
|
|
| |
svn:r9911
|
| |
|
|
| |
svn:r9910
|
| |
|
|
|
|
|
| |
Add documentation for cell queue functions; make destroy cells result in cell queues getting cleared before the destroy gets sent.
svn:r9907
|
| |
|
|
|
|
|
| |
Add documentation for make_old argument to routerlist functions.
svn:r9906
|
| |
|
|
|
|
|
| |
A surprisingly simple patch to stop reading on edge connections when their circuits get too full, and start again when they empty out. This lets us remove the logic to block begin_dir conns when the corresponding or conns get full: it was already broken by cell queues anyway.
svn:r9905
|
| |
|
|
|
|
|
| |
Initial version of circuit-based cell queues. Instead of hammering or_conns with piles of cells, queue cells on their corresponding circuits, and append them to the or_conn as needed. This seems to work so far, but needs a bit more work. This will break the memory-use-limitation patch for begin_dir conns: the solution will be a fun but fiddly.
svn:r9904
|
| |
|
|
|
|
|
| |
Possibly resolve bug reported by xiando.
svn:r9903
|
| |
|
|
|
|
|
| |
Eliminate more redundant circuit_t arguments when edge_connection_t is already supplied and the circuit is already attached.
svn:r9900
|
| |
|
|
|
|
|
| |
Refactor a bunch of functions that take edge_connection_t not to also take a crypt_path_t; the cpath is implicit.
svn:r9899
|
| |
|
|
|
|
|
|
| |
because we have no way of remembering what their purpose was when
we restart.
svn:r9894
|
| |
|
|
| |
svn:r9893
|
| |
|
|
| |
svn:r9892
|
| |
|
|
|
|
|
| |
Incorporate ideas from or-dev discussion.
svn:r9891
|
| |
|
|
|
|
|
| |
Add specification to proposal 104; settle on "extra info" approach rather than "long descriptor" approach.
svn:r9890
|
| |
|
|
|
|
|
| |
whether we've attached a stream.
svn:r9883
|
| |
|
|
|
|
|
|
| |
stricter rate limiting to all OR conns except those that have
been touched by local circuits.
svn:r9882
|
| |
|
|
|
|
|
| |
now that's just defined as answers to directory requests.
svn:r9881
|
| |
|
|
|
|
|
| |
other stuff.
svn:r9880
|
| |
|
|
| |
svn:r9879
|
| |
|
|
| |
svn:r9868
|
| |
|
|
|
|
|
| |
Remove some duplicated code in control.c: unify the "parse space-separated arguments and warn if there are too few" logic into a single helper function.
svn:r9866
|
| |
|
|
|
|
|
| |
Add a warning when using obsolete "GUARDS" event. Also, remove obsolete "if (1) {}"s from control.c: big patch, mostly just dedenting block contents.
svn:r9865
|
| |
|
|
|
|
|
| |
Merge or-dev discussion into 109; mark 109 accepted.
svn:r9864
|
| | |
|
| |
|
|
|
|
|
| |
Check return values from pthread_mutex functions.
svn:r9862
|
| |
|
|
| |
svn:r9860
|
| |
|
|
| |
svn:r9854
|
| |
|
|
|
|
|
| |
(it's a band)
svn:r9853
|
| |
|
|
|
|
|
|
|
|
|
| |
directory information requested inside Tor connections (i.e. via
begin_dir cells). It only triggered when the same connection was
serving other data at the same time. Reported by seeess.
Backport candidate.
svn:r9841
|
| |
|
|
| |
svn:r9840
|
| |
|
|
| |
svn:r9835
|
| |
|
|
| |
svn:r9833
|
| |
|
|
| |
svn:r9832
|
| |
|
|
|
|
|
| |
Add proposal 111: Prioritizing local traffic over relayed traffic.
svn:r9830
|
| |
|
|
|
|
|
| |
Clarify section of dir-spec.txt that explains how "v" resolution happens.
svn:r9829
|
| |
|
|
| |
svn:r9828
|