aboutsummaryrefslogtreecommitdiff
path: root/src/or/circuitlist.c
Commit message (Expand)AuthorAge
* r12332@catbus: nickm | 2007-04-10 12:24:45 -0400••• 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 Nick Mathewson2007-04-10
* r12328@catbus: nickm | 2007-04-09 18:16:31 -0400••• Argh, missed another 9030 bogon. svn:r9934 Nick Mathewson2007-04-09
* r12326@catbus: nickm | 2007-04-09 17:36:41 -0400••• Clean up crap from 9930. I can hardly wait till I trust SVK 2.x enough to upgrade. svn:r9933 Nick Mathewson2007-04-09
* svn:r9930Nick Mathewson2007-04-09
* r12318@catbus: nickm | 2007-04-09 16:08:20 -0400••• 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 Nick Mathewson2007-04-09
* r12317@catbus: nickm | 2007-04-09 15:50:51 -0400••• 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 Nick Mathewson2007-04-09
* Fix a crash bug in cell queues: It is possible for a connection_write_to_buf ...•••svn:r9915 Nick Mathewson2007-03-29
* r12654@Kushana: nickm | 2007-03-25 19:03:44 -0400••• Add documentation for cell queue functions; make destroy cells result in cell queues getting cleared before the destroy gets sent. svn:r9907 Nick Mathewson2007-03-26
* r12651@Kushana: nickm | 2007-03-24 18:26:42 -0400••• 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 Nick Mathewson2007-03-26
* r12074@catbus: nickm | 2007-03-04 15:11:43 -0500••• 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 Nick Mathewson2007-03-04
* cosmetic, comment, and todo fixes•••svn:r9627 Roger Dingledine2007-02-24
* r11832@catbus: nickm | 2007-02-16 15:31:59 -0500••• Fix 35 remaining DOCDOC comments. Yowza. svn:r9596 Nick Mathewson2007-02-16
* r11775@catbus: nickm | 2007-02-12 16:39:09 -0500••• Update copyright dates. svn:r9570 Nick Mathewson2007-02-12
* r11694@catbus: nickm | 2007-02-07 13:25:01 -0500••• Fix patch for 9510: never call control_event_stream_status on an exit connection. Should fix assert() noticed by xiando. svn:r9514 Nick Mathewson2007-02-07
* r11672@catbus: nickm | 2007-02-06 14:16:56 -0500••• Fix third case of bug 367: make circuit get sent along with END_STREAM_REASON_DESTROY stream CLOSED events. svn:r9510 Nick Mathewson2007-02-07
* more changes. i'm all caught up now.•••svn:r9495 Roger Dingledine2007-02-06
* r11637@catbus: nickm | 2007-02-05 12:41:51 -0500••• 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 Nick Mathewson2007-02-05
* r11629@catbus: nickm | 2007-02-02 15:06:17 -0500••• 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 Nick Mathewson2007-02-02
* r12123@Kushana: nickm | 2007-02-02 13:57:42 -0500••• Resolve remaining DOCDOC comments. svn:r9476 Nick Mathewson2007-02-02
* r11287@catbus: nickm | 2007-01-23 20:30:04 -0500••• Yet more documentation. (Again, trying to see whether I have buildbot working). svn:r9396 Nick Mathewson2007-01-24
* Fix crash with "tor --list-fingerprint" (reported by seeess).•••svn:r9328 Roger Dingledine2007-01-10
* r9461@Kushana: nickm | 2006-10-31 20:30:12 -0500••• Oops. Fix compile error in last build. svn:r8888 Nick Mathewson2006-11-01
* r9457@Kushana: nickm | 2006-10-31 18:35:17 -0500••• Do not warn when an OR gives us a new circuit end reason. (This will prevent bug 351 from recurring.) svn:r8887 Nick Mathewson2006-10-31
* r9307@Kushana: nickm | 2006-10-20 13:53:54 -0400••• 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 Nick Mathewson2006-10-20
* r9272@Kushana: nickm | 2006-10-19 12:52:37 -0400••• 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 Nick Mathewson2006-10-19
* r9060@totoro: nickm | 2006-10-17 11:12:48 -0400••• Apply patch from Mike Perry: add more reasons for circuit destroys. (Slightly tweaked to avoid allocating a number for an "internal" reason.) svn:r8739 Nick Mathewson2006-10-17
* r8973@totoro: nickm | 2006-10-09 11:45:47 -0400••• 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 Nick Mathewson2006-10-09
* r8972@totoro: nickm | 2006-10-09 10:36:22 -0400••• Patch from Mike Perry: add a REASON field to closed and failed circ events. svn:r8671 Nick Mathewson2006-10-09
* remove some old debugging code•••svn:r8657 Roger Dingledine2006-10-08
* r8822@totoro: nickm | 2006-10-01 16:24:22 -0400••• Fix bug 303: reject attempts to use Tor as a one-hop proxy. svn:r8566 Nick Mathewson2006-10-01
* make my bandwidth exercises actually happen•••svn:r8400 Roger Dingledine2006-09-15
* Send out a burst of long-range drop cells after we've established that•••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 Roger Dingledine2006-09-15
* fix assert found by DreadWingKnight: now that rendezvous streams•••are attached to p_streams, the p_streams list can consist of both AP and EXIT conns. svn:r6945 Roger Dingledine2006-07-30
* r6948@Kushana: nickm | 2006-07-28 10:10:35 -0400••• Identify some likely target fields for lowering; lower global_identifier (since we only use it for AP streams and origin circs). svn:r6933 Nick Mathewson2006-07-28
* r6922@Kushana: nickm | 2006-07-26 16:32:24 -0400••• Rename some fields, compress a bitfield, and document some structs and fields svn:r6919 Nick Mathewson2006-07-27
* r6908@Kushana: nickm | 2006-07-26 12:38:52 -0400••• Refactor connection_t into edge, or, dir, control, and base subtypes. This might save some RAM on busy exit servers, but really matters most in terms of correctness. svn:r6906 Nick Mathewson2006-07-26
* r6903@Kushana: nickm | 2006-07-25 18:22:48 -0400••• No circuit can be both an intro point and a rend point, so we can merge both the cookie and the pk digest into one "rend_token" field for or circuits. This saves another 20 bytes per or circuit. svn:r6904 Nick Mathewson2006-07-26
* r6902@Kushana: nickm | 2006-07-25 17:30:27 -0400••• Move rend_query to origin_circuit_t where it belongs; save another 17 bytes per OR circuit. svn:r6903 Nick Mathewson2006-07-26
* Fix another segfault in assert_circuit_ok.•••svn:r6818 Nick Mathewson2006-07-23
* Don't tell anybody, but we're going OO here. This patch splits•••circuit_t into origin_circuit_t and or_circuit_t. I fixed some segaults; there may be more. We still need to move more rendezvous stuff into subtypes. This is a trial run for splitting up connection_t; if the approach is insane, please say so soon so we can do something smarter. Also, this discards the old HALF_OPEN code, which nobody seems to want. svn:r6817 Nick Mathewson2006-07-23
* fix typo, remove extraneous variable•••svn:r6311 Roger Dingledine2006-04-03
* convert some more source files to the new log convention•••svn:r6002 Roger Dingledine2006-02-13
* Happy new year!•••svn:r5949 Roger Dingledine2006-02-09
* fix bug 245: When modifying the orconn_circid_map map, we would•••sometimes decrement conn->n_circuits even when there was no circuit originally. This caused conn->n_circuits to go negative. We noticed this because we were checking if connections can be closed based on conn->n_circuits == 0, so we were never closing any connection that had ever had a circuit on it. svn:r5931 Roger Dingledine2006-02-09
* Add reasons to DESTROY and RELAY_TRUNCATED cells.•••svn:r5734 Nick Mathewson2006-01-05
* Bite the bullet and limit all our source lines to 80 characters, the way IBM ...•••svn:r5582 Nick Mathewson2005-12-14
* another possible patch related to circuit_free and memory stomping.•••svn:r5580 Nick Mathewson2005-12-14
* sometimes, when we just started tor, we haven't created that•••smartlist yet. so don't free it. svn:r5577 Roger Dingledine2005-12-14
* when we changed from log_fn to debug/info/notice/warn/err,•••we screwed up the formatting in wild and unpredictable ways. fix it before it becomes convention to format logs in wild and unpredictable ways. still need to do src/common/ someday. svn:r5551 Roger Dingledine2005-12-10
* Release memory from conn_circid_circuit_map on exit.•••svn:r5535 Nick Mathewson2005-12-08