aboutsummaryrefslogtreecommitdiff
path: root/src/or/circuitlist.c
Commit message (Collapse)AuthorAge
* r16301@catbus: nickm | 2007-10-31 16:43:49 -0400Nick Mathewson2007-10-31
| | | | | | | 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
* r15843@catbus: nickm | 2007-10-16 09:58:49 -0400Nick Mathewson2007-10-16
| | | | | | | Clean up our code to fix a warning under gcc 4.2 svn:r11982
* r15703@catbus: nickm | 2007-10-11 17:30:34 -0400Nick Mathewson2007-10-11
| | | | | | | 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
* oh, and make it compile tooRoger Dingledine2007-08-19
| | | | svn:r11185
* generalize circuit_find_to_cannibalize() so it knows whatRoger Dingledine2007-08-19
| | | | | | | purpose circuit we're planning to become svn:r11184
* r14093@catbus: nickm | 2007-08-08 01:49:54 -0400Nick Mathewson2007-08-08
| | | | | | | Include fewer redundant headers; use the compiler search paths better. svn:r11060
* Be even more aggressive about separating local traffic from relayedRoger Dingledine2007-07-29
| | | | | | | traffic when RelayBandwidthRate is set. (Refines proposal 111.) svn:r10974
* backport candidate:Roger Dingledine2007-07-11
| | | | | | | | | 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
* r13480@catbus: nickm | 2007-06-17 14:39:42 -0400Nick Mathewson2007-06-17
| | | | | | | Oops; forgot to save a file in the last batch. svn:r10646
* now we can specify a bridge without specifying its key,Roger Dingledine2007-06-15
| | | | | | | and we will still connect to it and use it. getting closer! svn:r10609
* r12768@catbus: nickm | 2007-05-16 17:25:33 -0400Nick Mathewson2007-05-16
| | | | | | | Fix GCC warnings related to local parameters/variables getting shadowed. svn:r10198
* r12763@catbus: nickm | 2007-05-15 05:29:33 -0400Nick Mathewson2007-05-15
| | | | | | | Make --enable-gcc-warnings happy on the upcoming gcc 4.2 svn:r10195
* on the theory that my client_used hack is here to stay at least for theRoger Dingledine2007-05-04
| | | | | | | | | 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
* r12565@catbus: nickm | 2007-04-30 10:09:07 -0400Nick Mathewson2007-04-30
| | | | | | | Misc cleanup and bulletproofing on r10056. svn:r10058
* Let the controller specify HOP=%d as an argument to ATTACHSTREAM,Roger Dingledine2007-04-30
| | | | | | | so we can exit from the middle of the circuit. svn:r10056
* r12332@catbus: nickm | 2007-04-10 12:24:45 -0400Nick Mathewson2007-04-10
| | | | | | | 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
* r12328@catbus: nickm | 2007-04-09 18:16:31 -0400Nick Mathewson2007-04-09
| | | | | | | Argh, missed another 9030 bogon. svn:r9934
* r12326@catbus: nickm | 2007-04-09 17:36:41 -0400Nick Mathewson2007-04-09
| | | | | | | Clean up crap from 9930. I can hardly wait till I trust SVK 2.x enough to upgrade. svn:r9933
* svn:r9930Nick Mathewson2007-04-09
|
* r12318@catbus: nickm | 2007-04-09 16:08:20 -0400Nick Mathewson2007-04-09
| | | | | | | 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
* r12317@catbus: nickm | 2007-04-09 15:50:51 -0400Nick Mathewson2007-04-09
| | | | | | | 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
* Fix a crash bug in cell queues: It is possible for a connection_write_to_buf ↵Nick Mathewson2007-03-29
| | | | | | 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
* r12654@Kushana: nickm | 2007-03-25 19:03:44 -0400Nick Mathewson2007-03-26
| | | | | | | Add documentation for cell queue functions; make destroy cells result in cell queues getting cleared before the destroy gets sent. svn:r9907
* r12651@Kushana: nickm | 2007-03-24 18:26:42 -0400Nick Mathewson2007-03-26
| | | | | | | 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
* r12074@catbus: nickm | 2007-03-04 15:11:43 -0500Nick Mathewson2007-03-04
| | | | | | | 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
* cosmetic, comment, and todo fixesRoger Dingledine2007-02-24
| | | | svn:r9627
* r11832@catbus: nickm | 2007-02-16 15:31:59 -0500Nick Mathewson2007-02-16
| | | | | | | Fix 35 remaining DOCDOC comments. Yowza. svn:r9596
* r11775@catbus: nickm | 2007-02-12 16:39:09 -0500Nick Mathewson2007-02-12
| | | | | | | Update copyright dates. svn:r9570
* r11694@catbus: nickm | 2007-02-07 13:25:01 -0500Nick Mathewson2007-02-07
| | | | | | | Fix patch for 9510: never call control_event_stream_status on an exit connection. Should fix assert() noticed by xiando. svn:r9514
* r11672@catbus: nickm | 2007-02-06 14:16:56 -0500Nick Mathewson2007-02-07
| | | | | | | Fix third case of bug 367: make circuit get sent along with END_STREAM_REASON_DESTROY stream CLOSED events. svn:r9510
* more changes. i'm all caught up now.Roger Dingledine2007-02-06
| | | | svn:r9495
* r11637@catbus: nickm | 2007-02-05 12:41:51 -0500Nick Mathewson2007-02-05
| | | | | | | 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
* r11629@catbus: nickm | 2007-02-02 15:06:17 -0500Nick Mathewson2007-02-02
| | | | | | | 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
* r12123@Kushana: nickm | 2007-02-02 13:57:42 -0500Nick Mathewson2007-02-02
| | | | | | | Resolve remaining DOCDOC comments. svn:r9476
* r11287@catbus: nickm | 2007-01-23 20:30:04 -0500Nick Mathewson2007-01-24
| | | | | | | Yet more documentation. (Again, trying to see whether I have buildbot working). svn:r9396
* Fix crash with "tor --list-fingerprint" (reported by seeess).Roger Dingledine2007-01-10
| | | | svn:r9328
* r9461@Kushana: nickm | 2006-10-31 20:30:12 -0500Nick Mathewson2006-11-01
| | | | | | | Oops. Fix compile error in last build. svn:r8888
* r9457@Kushana: nickm | 2006-10-31 18:35:17 -0500Nick Mathewson2006-10-31
| | | | | | | Do not warn when an OR gives us a new circuit end reason. (This will prevent bug 351 from recurring.) svn:r8887
* r9307@Kushana: nickm | 2006-10-20 13:53:54 -0400Nick Mathewson2006-10-20
| | | | | | | 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
* r9272@Kushana: nickm | 2006-10-19 12:52:37 -0400Nick Mathewson2006-10-19
| | | | | | | 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
* r9060@totoro: nickm | 2006-10-17 11:12:48 -0400Nick Mathewson2006-10-17
| | | | | | | Apply patch from Mike Perry: add more reasons for circuit destroys. (Slightly tweaked to avoid allocating a number for an "internal" reason.) svn:r8739
* r8973@totoro: nickm | 2006-10-09 11:45:47 -0400Nick Mathewson2006-10-09
| | | | | | | | | | | 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
* r8972@totoro: nickm | 2006-10-09 10:36:22 -0400Nick Mathewson2006-10-09
| | | | | | | Patch from Mike Perry: add a REASON field to closed and failed circ events. svn:r8671
* remove some old debugging codeRoger Dingledine2006-10-08
| | | | svn:r8657
* r8822@totoro: nickm | 2006-10-01 16:24:22 -0400Nick Mathewson2006-10-01
| | | | | | | Fix bug 303: reject attempts to use Tor as a one-hop proxy. svn:r8566
* make my bandwidth exercises actually happenRoger Dingledine2006-09-15
| | | | svn:r8400
* Send out a burst of long-range drop cells after we've established thatRoger Dingledine2006-09-15
| | | | | | | | 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
* fix assert found by DreadWingKnight: now that rendezvous streamsRoger Dingledine2006-07-30
| | | | | | | | are attached to p_streams, the p_streams list can consist of both AP and EXIT conns. svn:r6945
* r6948@Kushana: nickm | 2006-07-28 10:10:35 -0400Nick Mathewson2006-07-28
| | | | | | | Identify some likely target fields for lowering; lower global_identifier (since we only use it for AP streams and origin circs). svn:r6933
* r6922@Kushana: nickm | 2006-07-26 16:32:24 -0400Nick Mathewson2006-07-27
| | | | | | | Rename some fields, compress a bitfield, and document some structs and fields svn:r6919