aboutsummaryrefslogtreecommitdiff
path: root/src/or
Commit message (Expand)AuthorAge
* r12782@Kushana: nickm | 2007-04-23 18:20:19 -0400••• Avoid a segfault when freeing a buffer with size 0. svn:r10010 Nick Mathewson2007-04-23
* r12499@catbus: nickm | 2007-04-23 10:42:23 -0400••• Keep a freelist of unused 4k buffer chunks, rather than wasting 8k for every inactive connection_t. svn:r10006 Nick Mathewson2007-04-23
* r12496@catbus: nickm | 2007-04-22 23:04:05 -0400••• When logging memory usage, break down memory used in buffers by buffer type. svn:r10004 Nick Mathewson2007-04-23
* r12492@catbus: nickm | 2007-04-22 20:24:02 -0400••• Even more asserts to try to catch bug 404/417. svn:r10003 Nick Mathewson2007-04-23
* r12485@catbus: nickm | 2007-04-21 13:46:14 -0400••• Document some fields in or.h svn:r9998 Nick Mathewson2007-04-21
* r12484@catbus: nickm | 2007-04-21 13:45:58 -0400••• Suppress display of version-detection junk in Makefile.am svn:r9997 Nick Mathewson2007-04-21
* r12482@catbus: nickm | 2007-04-21 13:30:24 -0400••• Rename a couple of confusing fields svn:r9996 Nick Mathewson2007-04-21
* r12763@Kushana: nickm | 2007-04-20 18:42:58 -0400••• Initial version of code to stop using socket pairs for linked connections. Superficially, it seems to work, but it probably needs a lot more testing and attention. svn:r9995 Nick Mathewson2007-04-21
* r12759@Kushana: nickm | 2007-04-20 08:47:20 -0400••• Track the number of connection_t separately from the number of open sockets. It is already possible to have connections that do not count: resolving conns, for one. Once we move from socketpairs to linked conns, and once we do dns proxying, there will be lots of such connections. svn:r9994 Nick Mathewson2007-04-21
* r12458@catbus: nickm | 2007-04-19 15:52:23 -0400••• Fix a bug in displaying memory pool usage. Also dump cell allocation, and track padded_cell_ts as they are allocated and freed, to make sure we are not leaking cells. svn:r9992 Nick Mathewson2007-04-19
* r12456@catbus: nickm | 2007-04-19 14:47:01 -0400••• Make dumpmemusage() dump cell pool usage information. svn:r9991 Nick Mathewson2007-04-19
* r12434@catbus: nickm | 2007-04-19 11:23:35 -0400••• When advancing a string pointer, make sure we do not later free the altered pointer. Fixes bug 416, introduced in r9971. svn:r9990 Nick Mathewson2007-04-19
* r12429@catbus: nickm | 2007-04-18 15:28:41 -0400••• Make svn revision number visible in version even if building from a .tar.gz. This was remarkably painless. svn:r9988 Nick Mathewson2007-04-18
* r12425@catbus: nickm | 2007-04-17 17:16:38 -0400••• Detect the svn version correctly when building from an svk checkout too. Whee, fun with bash and make. svn:r9985 Nick Mathewson2007-04-17
* r12418@catbus: nickm | 2007-04-16 20:58:25 -0400••• Twiddle tor_version_as_new_as() so we can check for particular svn revisions. With unit tests, for added freshness. svn:r9977 Nick Mathewson2007-04-17
* A hack I've been wanting for a while: when building a -dev version•••from an SVN repository, use the current svn revision in the platform string and in the output of --version. svn:r9976 Nick Mathewson2007-04-16
* r12414@catbus: nickm | 2007-04-16 17:37:17 -0400••• More proposal-104 stuff: actually remember extra-info stuff. svn:r9975 Nick Mathewson2007-04-16
* Fix some proposal-104 bugs.•••svn:r9972 Nick Mathewson2007-04-16
* r12406@catbus: nickm | 2007-04-16 14:39:33 -0400••• More proposal-104 stuff: add most of the code for authorities to accept and serve extra-info documents. The back-end to store the things is missing. svn:r9971 Nick Mathewson2007-04-16
* r12403@catbus: nickm | 2007-04-16 13:55:03 -0400••• Code to generate extrainfo whenever routerdesc is regenerated; code to check extrainfo against routerdesc. svn:r9970 Nick Mathewson2007-04-16
* r12401@catbus: nickm | 2007-04-16 12:28:01 -0400••• Enforce checks for number of arguments to items in directory objects more uniformly. svn:r9968 Nick Mathewson2007-04-16
* r12388@catbus: nickm | 2007-04-16 00:17:29 -0400••• Now that the directory parser checks for missing items, the rest of the code can just assert that they are there, rather than checking a second time. svn:r9966 Nick Mathewson2007-04-16
* r12387@catbus: nickm | 2007-04-16 00:06:40 -0400••• Refactor router/directory parsing backend: use a separate token table for everything that we parse, and enforce the correct count of each item. svn:r9965 Nick Mathewson2007-04-16
* r12385@catbus: nickm | 2007-04-15 22:55:58 -0400••• Initial code to parse extra-info documents as described in proposal 104. This is making me realize that the parsing code in routerparse.c is a little daft. svn:r9963 Nick Mathewson2007-04-16
* r12351@catbus: nickm | 2007-04-11 12:09:46 -0400••• More autoconf hacking: use same machinery to find zlib as for openssl and libevent. Have unified library finder include setup for --with variable. Start trying to suggest to the user what packages they should install if finding the library fails. svn:r9945 Nick Mathewson2007-04-11
* r12349@catbus: nickm | 2007-04-11 09:18:15 -0400••• Add code to shrink the cell memory pool by discarding empty chunks that have been empty for the last 60 seconds. Also, instead of having test.c duplicate declarations for exposed functions, put them inside #ifdef foo_PRIVATE blocks in the headers. This prevents bugs where test.c gets out of sync. svn:r9944 Nick Mathewson2007-04-11
* r12344@catbus: nickm | 2007-04-10 21:27:25 -0400••• Fix documentation and usage of 2nd argument to mp_pool_new. svn:r9942 Nick Mathewson2007-04-11
* r12338@catbus: nickm | 2007-04-10 20:29:05 -0400••• Document memory pool implementation, and tweak it even mor. See? Programming is fun. svn:r9940 Nick Mathewson2007-04-11
* r12337@catbus: nickm | 2007-04-10 17:55:26 -0400••• Add support for using memory pools to allocate queued cell; pass --disable-cell-pool to configure to disable this. svn:r9939 Nick Mathewson2007-04-11
* r12336@catbus: nickm | 2007-04-10 17:34:25 -0400••• Unit tests and debugging for memory pool implementation. svn:r9938 Nick Mathewson2007-04-11
* 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
* r12330@catbus: nickm | 2007-04-09 19:15:42 -0400••• 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 Nick Mathewson2007-04-09
* 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
* r12688@Kushana: nickm | 2007-04-09 17:29:12 -0400••• 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 Nick Mathewson2007-04-09
* r12687@Kushana: nickm | 2007-04-09 17:05:57 -0400••• Try to fix bug 410: move responsibility for attaching/detaching initial streams from circuits into dns_resolve. Needs refactoring a little. svn:r9931 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 memory leak when we ask for "all" networkstatuses and•••we get one we don't recognize. backport candidate. backbackport candidate. svn:r9918 Roger Dingledine2007-03-29
* Fix a crash bug in cell queues: It is possible for a connection_write_to_buf ...•••svn:r9915 Nick Mathewson2007-03-29
* Turn bool_neq and bool_eq into macros.•••svn:r9914 Nick Mathewson2007-03-29
* Comment out the "clear queue when sending a destroy" logic: it seems potentia...•••svn:r9913 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
* r12653@Kushana: nickm | 2007-03-25 18:21:38 -0400••• Add documentation for make_old argument to routerlist functions. svn:r9906 Nick Mathewson2007-03-26
* r12652@Kushana: nickm | 2007-03-25 15:01:48 -0400••• 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 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
* r12274@catbus: nickm | 2007-03-26 09:29:18 -0400••• Possibly resolve bug reported by xiando. svn:r9903 Nick Mathewson2007-03-26
* r12644@0-41-wifi: nickm | 2007-03-23 16:02:23 -0400••• Eliminate more redundant circuit_t arguments when edge_connection_t is already supplied and the circuit is already attached. svn:r9900 Nick Mathewson2007-03-24
* r12643@0-41-wifi: nickm | 2007-03-23 14:56:35 -0400••• Refactor a bunch of functions that take edge_connection_t not to also take a crypt_path_t; the cpath is implicit. svn:r9899 Nick Mathewson2007-03-24