aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2007-04-09 r12317@catbus: nickm | 2007-04-09 15:50:51 -0400Nick Mathewson
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
2007-03-29fix a memory leak when we ask for "all" networkstatuses andRoger Dingledine
we get one we don't recognize. backport candidate. backbackport candidate. svn:r9918
2007-03-29Fix a crash bug in cell queues: It is possible for a connection_write_to_buf ↵Nick Mathewson
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
2007-03-29Turn bool_neq and bool_eq into macros.Nick Mathewson
svn:r9914
2007-03-29Comment out the "clear queue when sending a destroy" logic: it seems ↵Nick Mathewson
potentially dangerous. (see comment for details) svn:r9913
2007-03-26 r12654@Kushana: nickm | 2007-03-25 19:03:44 -0400Nick Mathewson
Add documentation for cell queue functions; make destroy cells result in cell queues getting cleared before the destroy gets sent. svn:r9907
2007-03-26 r12653@Kushana: nickm | 2007-03-25 18:21:38 -0400Nick Mathewson
Add documentation for make_old argument to routerlist functions. svn:r9906
2007-03-26 r12652@Kushana: nickm | 2007-03-25 15:01:48 -0400Nick Mathewson
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
2007-03-26 r12651@Kushana: nickm | 2007-03-24 18:26:42 -0400Nick Mathewson
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
2007-03-26 r12274@catbus: nickm | 2007-03-26 09:29:18 -0400Nick Mathewson
Possibly resolve bug reported by xiando. svn:r9903
2007-03-24 r12644@0-41-wifi: nickm | 2007-03-23 16:02:23 -0400Nick Mathewson
Eliminate more redundant circuit_t arguments when edge_connection_t is already supplied and the circuit is already attached. svn:r9900
2007-03-24 r12643@0-41-wifi: nickm | 2007-03-23 14:56:35 -0400Nick Mathewson
Refactor a bunch of functions that take edge_connection_t not to also take a crypt_path_t; the cpath is implicit. svn:r9899
2007-03-21Don't save non-general-purpose router descriptors to the disk cache,Roger Dingledine
because we have no way of remembering what their purpose was when we restart. svn:r9894
2007-03-20put the stopgap on whether we've sent a create cell, notRoger Dingledine
whether we've attached a stream. svn:r9883
2007-03-20a stopgap measure while we wait for proposal 111: apply theRoger Dingledine
stricter rate limiting to all OR conns except those that have been touched by local circuits. svn:r9882
2007-03-20Add a separate set of token buckets for relayed traffic. RightRoger Dingledine
now that's just defined as answers to directory requests. svn:r9881
2007-03-20temporary hack to solve bug 384, so i can get on with debuggingRoger Dingledine
other stuff. svn:r9880
2007-03-19correct a function comment that's become wrongRoger Dingledine
svn:r9879
2007-03-17 r12230@catbus: nickm | 2007-03-17 17:34:32 -0400Nick Mathewson
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
2007-03-17 r12229@catbus: nickm | 2007-03-17 17:20:28 -0400Nick Mathewson
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
2007-03-17 r12191@catbus: nickm | 2007-03-15 15:33:37 -0400Nick Mathewson
Check return values from pthread_mutex functions. svn:r9862
2007-03-17other minor fixes lurking in my sandboxRoger Dingledine
svn:r9854
2007-03-17forward-port r9850 and the changelogsRoger Dingledine
(it's a band) svn:r9853
2007-03-16Fix an infinite loop introduced in 0.1.2.7-alpha when we serveRoger Dingledine
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
2007-03-15clean up some minor typos and log confusionsRoger Dingledine
svn:r9832
2007-03-15 r12182@catbus: nickm | 2007-03-15 10:58:12 -0400Nick Mathewson
Clarify section of dir-spec.txt that explains how "v" resolution happens. svn:r9829
2007-03-15change my mind -- correct the spec to match the code'sRoger Dingledine
behavior for getinfo addr-mappings/*. this is because the code and spec have been mismatched since at least 0.1.1.x, so i would be surprised if nobody at all is relying on the current behavior. backport candidate. backbackport candidate. svn:r9823
2007-03-15Make the response to 'getinfo addr-mappings/*' follow the spec.Roger Dingledine
svn:r9822
2007-03-15typo in error message led to breaking the protocol. alsoRoger Dingledine
pointed out by daejees. svn:r9819
2007-03-15Make 'getinfo fingerprint' return a 551 error if we're not aRoger Dingledine
server, so we match what the control spec claims we do. Reported by daejees. svn:r9818
2007-03-14the spec called it a GUARDS event, but the code calledRoger Dingledine
it a GUARD event. standardize on GUARD, but support people asking for GUARDS too. reported by daejees. backport candidate. svn:r9817
2007-03-13Stop allowing hibernating servers to be "stable" or "fast".Roger Dingledine
This is what I meant to do in r9690 but didn't actually do. svn:r9808
2007-03-11 r12538@Kushana: nickm | 2007-03-11 17:10:22 -0400Nick Mathewson
Fix a lame assert, I hope. svn:r9801
2007-03-11best not to introduce new technical terms if we don't need toRoger Dingledine
svn:r9800
2007-03-11 r12535@Kushana: nickm | 2007-03-11 16:34:40 -0400Nick Mathewson
Fix a comment and add a couple of assert to try to track down another assert in routerlist_assert_ok() svn:r9799
2007-03-11 r12533@Kushana: nickm | 2007-03-11 05:01:15 -0400Nick Mathewson
Oh. Tor was supposed to compile? svn:r9797
2007-03-10 r12519@Kushana: nickm | 2007-03-10 00:57:01 -0500Nick Mathewson
Remove a redundant check for event.h; add some comments, and reformat. svn:r9790
2007-03-10holy cow, those windows unames are long. don't distract soRoger Dingledine
much from the important part of this log message. svn:r9789
2007-03-10Directory authorities now call routers stable if they have anRoger Dingledine
uptime of at least 30 days, even if that's not the median uptime in the network. Implements proposal 1xx, suggested by Kevin Bauer and Damon McCoy. svn:r9788
2007-03-09 r12474@Kushana: nickm | 2007-03-06 16:10:05 -0500Nick Mathewson
We have a PATH_SEPARATOR macro. How about we use it? svn:r9782
2007-03-09 r12473@Kushana: nickm | 2007-03-06 15:49:45 -0500Nick Mathewson
Excise PREDICT and PREDICT_FALSE in favor of PREDICT_LIKELY and PREDICT_UNLIKELY. svn:r9781
2007-03-09Put a platform string (e.g. "Linux i686") in the startup logRoger Dingledine
message, so when people paste just their logs, we know if it's openbsd or windows or what. svn:r9775
2007-03-09forward-port the bugfix from juliuszRoger Dingledine
svn:r9772
2007-03-09get rid of an info-level log message that occurs many times aRoger Dingledine
minute when we haven't needed circuits lately. svn:r9771
2007-03-06 r12098@catbus: nickm | 2007-03-06 18:48:50 -0500Nick Mathewson
Try to make unit tests happier on 64-bit platforms. svn:r9752
2007-03-06 r12468@Kushana: nickm | 2007-03-06 15:24:00 -0500Nick Mathewson
More unit tests: gcov is fun. svn:r9748
2007-03-06 r12461@Kushana: nickm | 2007-03-06 13:26:17 -0500Nick Mathewson
More autoconf fixes and updates. Maybe the bsd buildbots will be happy again. svn:r9747
2007-03-06and one more not-really-an-error caseRoger Dingledine
svn:r9743
2007-03-06clean up a log message, and stop calling it an error whenRoger Dingledine
we exit cleanly svn:r9742
2007-03-05 r12080@catbus: nickm | 2007-03-04 21:40:55 -0500Nick Mathewson
Remove dnsworkers and related code. there goes another 550 lines of code. svn:r9736