| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
| |
A couple of small tweaks to karsten's latest patch, and note an issue with using a bitmap to represent a single int.
svn:r12300
|
|
|
|
|
|
|
| |
Clean up our code to fix a warning under gcc 4.2
svn:r11982
|
|
|
|
|
|
|
| |
Fix for the reported case of bug 438: check families as well as identities in circuit_find_to_cannibalize(). Code audit still pending. ;)
svn:r11886
|
|
|
|
| |
svn:r11185
|
|
|
|
|
|
|
| |
purpose circuit we're planning to become
svn:r11184
|
|
|
|
|
|
|
| |
Include fewer redundant headers; use the compiler search paths better.
svn:r11060
|
|
|
|
|
|
|
| |
traffic when RelayBandwidthRate is set. (Refines proposal 111.)
svn:r10974
|
|
|
|
|
|
|
|
|
| |
When sending destroy cells from a circuit's origin, don't include
the reason for tearing down the circuit. The spec says we didn't,
and now we actually don't. Reported by lodger. [Bugfix on 0.1.2.x]
svn:r10790
|
|
|
|
|
|
|
| |
Oops; forgot to save a file in the last batch.
svn:r10646
|
|
|
|
|
|
|
| |
and we will still connect to it and use it. getting closer!
svn:r10609
|
|
|
|
|
|
|
| |
Fix GCC warnings related to local parameters/variables getting shadowed.
svn:r10198
|
|
|
|
|
|
|
| |
Make --enable-gcc-warnings happy on the upcoming gcc 4.2
svn:r10195
|
|
|
|
|
|
|
|
|
| |
next little while, make it only take effect _when there's an attached
origin circuit_, rather than from the first attached origin circuit
until death of the conn.
svn:r10116
|
|
|
|
|
|
|
| |
Misc cleanup and bulletproofing on r10056.
svn:r10058
|
|
|
|
|
|
|
| |
so we can exit from the middle of the circuit.
svn:r10056
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Add documentation for cell queue functions; make destroy cells result in cell queues getting cleared before the destroy gets sent.
svn:r9907
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Make all LD_BUG log messsages get prefixed with "Bug: ". Remove manually-generated "Bug: "s from log-messages. (Apparently, we remembered to add them about 40% of the time.)
svn:r9733
|
|
|
|
| |
svn:r9627
|
|
|
|
|
|
|
| |
Fix 35 remaining DOCDOC comments. Yowza.
svn:r9596
|
|
|
|
|
|
|
| |
Update copyright dates.
svn:r9570
|
|
|
|
|
|
|
| |
Fix patch for 9510: never call control_event_stream_status on an exit connection. Should fix assert() noticed by xiando.
svn:r9514
|
|
|
|
|
|
|
| |
Fix third case of bug 367: make circuit get sent along with END_STREAM_REASON_DESTROY stream CLOSED events.
svn:r9510
|
|
|
|
| |
svn:r9495
|
|
|
|
|
|
|
| |
Fix an XXXX012, and make circuits_pending_or_conns a static variable. In addition to cleaning up the code, this may also resolve Bug 386 if Roger has the right intuition there.
svn:r9482
|
|
|
|
|
|
|
| |
Removing the last DOCDOC comment hurt so much that I had to use Doxygen to identify undocumented macros and comments, and add 150 more DOCDOCs to point out where they were. Oops. Hey, kids! Fixing some of these could be your first Tor patch!
svn:r9477
|
|
|
|
|
|
|
| |
Resolve remaining DOCDOC comments.
svn:r9476
|
|
|
|
|
|
|
| |
Yet more documentation. (Again, trying to see whether I have buildbot working).
svn:r9396
|
|
|
|
| |
svn:r9328
|
|
|
|
|
|
|
| |
Oops. Fix compile error in last build.
svn:r8888
|
|
|
|
|
|
|
| |
Do not warn when an OR gives us a new circuit end reason. (This will prevent bug 351 from recurring.)
svn:r8887
|
|
|
|
|
|
|
| |
Have connection_about_to_close use an end_reason field in edge_connection_t to tell what reason to tell the controller for closing the stream. Set end_reason in connection_edge_end, connection_mark_unattached_ap, and everwhere we set edge_has_sent_end. Add a changelog entry.
svn:r8779
|
|
|
|
|
|
|
| |
Fix an XXX in handling destroy cells: when we get a destroy cell with reason FOO, do not tell the controller REASON=FOO. Instead, say REASON=DESTROYED REMOTE_REASON=FOO. Suggested by a conversation with Mike Perry.
svn:r8760
|
|
|
|
|
|
|
| |
Apply patch from Mike Perry: add more reasons for circuit destroys. (Slightly tweaked to avoid allocating a number for an "internal" reason.)
svn:r8739
|
|
|
|
|
|
|
|
|
|
|
| |
Touch up last patch (to add REASON to CIRC events): make some reasons
more sensible, send reasons only to controllers that have enabled
extended events, and clean up whitespace.
svn:r8672
|
|
|
|
|
|
|
| |
Patch from Mike Perry: add a REASON field to closed and failed circ events.
svn:r8671
|
|
|
|
| |
svn:r8657
|
|
|
|
|
|
|
| |
Fix bug 303: reject attempts to use Tor as a one-hop proxy.
svn:r8566
|
|
|
|
| |
svn:r8400
|
|
|
|
|
|
|
|
| |
we're reachable. Spread them over 4 circuits, so hopefully a few will
be fast. This exercises our bandwidth and bootstraps us quicker.
svn:r8399
|
|
|
|
|
|
|
|
| |
are attached to p_streams, the p_streams list can consist of both AP
and EXIT conns.
svn:r6945
|
|
|
|
|
|
|
| |
Identify some likely target fields for lowering; lower global_identifier (since we only use it for AP streams and origin circs).
svn:r6933
|
|
|
|
|
|
|
| |
Rename some fields, compress a bitfield, and document some structs and fields
svn:r6919
|