Age | Commit message (Collapse) | Author |
|
Check for more HAVE_* header defines when building eventdns.c
svn:r10063
|
|
Add an extra lock to try to get unit tessts passing reliably again.
svn:r10062
|
|
Do not use micro-revision.i on MSVC; it will only be useful to people who have make.
svn:r10061
|
|
-1, not 0.
svn:r10060
|
|
Suggested by weasel: Add a fast function to check for the common failure mode for bug 417/404, and call it a lot.
svn:r10059
|
|
Misc cleanup and bulletproofing on r10056.
svn:r10058
|
|
Fix bug 421: Only set the revision number from SVK if we have a runnable svk _and_ a ~/.svk directory.
svn:r10057
|
|
so we can exit from the middle of the circuit.
svn:r10056
|
|
use by the controller, when we don't want Tor to build any circuits
preemptively.
svn:r10054
|
|
Oops; the rest of the last patch. If that one gets backported, this should too.
svn:r10053
|
|
Backport candidate: Add asserts to dirserv_remove_invalid, and fix a bug in dirserv_remove_invalid that could mess with pointers in a freed routerinfo right after it was freed.
svn:r10052
|
|
svn:r10050
|
|
Correctly report win98se and win95osr2 versions.
svn:r10047
|
|
Fix an assertion when we call tor_free_all before calling do_main_loop(). Discovered by weasel.
svn:r10046
|
|
we have no cached directory info. This means Tor clients can now
do all of their connections protected by TLS.
svn:r10035
|
|
hope this doesn't break it
svn:r10025
|
|
svn:r10024
|
|
svn:r10023
|
|
svn:r10022
|
|
Avoid another assert failure in the new buffer memory code. (This time, it hit when freeing a 4k buffer with some data on it.)
svn:r10011
|
|
Avoid a segfault when freeing a buffer with size 0.
svn:r10010
|
|
Keep a freelist of unused 4k buffer chunks, rather than wasting 8k for every inactive connection_t.
svn:r10006
|
|
When logging memory usage, break down memory used in buffers by buffer type.
svn:r10004
|
|
Even more asserts to try to catch bug 404/417.
svn:r10003
|
|
Document some fields in or.h
svn:r9998
|
|
Suppress display of version-detection junk in Makefile.am
svn:r9997
|
|
Rename a couple of confusing fields
svn:r9996
|
|
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
|
|
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
|
|
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
|
|
Make dumpmemusage() dump cell pool usage information.
svn:r9991
|
|
When advancing a string pointer, make sure we do not later free the altered pointer. Fixes bug 416, introduced in r9971.
svn:r9990
|
|
Make svn revision number visible in version even if building from a .tar.gz. This was remarkably painless.
svn:r9988
|
|
Detect the svn version correctly when building from an svk checkout too. Whee, fun with bash and make.
svn:r9985
|
|
Twiddle tor_version_as_new_as() so we can check for particular svn revisions. With unit tests, for added freshness.
svn:r9977
|
|
from an SVN repository, use the current svn revision in the platform
string and in the output of --version.
svn:r9976
|
|
More proposal-104 stuff: actually remember extra-info stuff.
svn:r9975
|
|
svn:r9972
|
|
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
|
|
Code to generate extrainfo whenever routerdesc is regenerated; code to check extrainfo against routerdesc.
svn:r9970
|
|
Enforce checks for number of arguments to items in directory objects more uniformly.
svn:r9968
|
|
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
|
|
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
|
|
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
|
|
Apparently some compilers think that anonymous unions are bad C. Technically, they're right, so let's name the union in mempool.c.
svn:r9946
|
|
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
|
|
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
|
|
Fix documentation and usage of 2nd argument to mp_pool_new.
svn:r9942
|
|
Document memory pool implementation, and tweak it even mor. See? Programming is fun.
svn:r9940
|
|
Add support for using memory pools to allocate queued cell; pass --disable-cell-pool to configure to disable this.
svn:r9939
|