Age | Commit message (Collapse) | Author |
|
Peacetime managed to run overnight in paranoia mode. Disabling paranoia, so that buffers.c can be a little speedy again.
svn:r12987
|
|
svn:r12985
|
|
Fix in flush_buf_tls: it is okay to flush an empty buffer, since we may have a partial TLS record pending.
svn:r12984
|
|
Here, have some terribly clever new buffer code. It uses a mbuf-like strategy rather than a ring buffer strategy, so it should require far far less extra memory to hold any given amount of data. Also, it avoids access patterns like x=malloc(1024);x=realloc(x,1048576);x=realloc(x,1024);append_to_freelist(x) that might have been contributing to memory fragmentation. I've tested it out a little on peacetime, and it seems to work so far. If you want to benchmark it for speed, make sure to remove the #define PARANOIA; #define NOINLINE macros at the head of the module.
svn:r12983
|
|
Bump version to 0.2.0.15-alpha-dev
svn:r12982
|
|
New, slightly esoteric function, tor_malloc_roundup(). While tor_malloc(x) allocates x bytes, tor_malloc_roundup(&x) allocates the same size of chunk it would use to store x bytes, and sets x to the usable size of that chunk.
svn:r12981
|
|
svn:r12978
|
|
added some clarifications (comments by Sven Kaffille)
svn:r12967
|
|
svn:r12965
|
|
svn:r12962
|
|
self-reachability and authority-reachability tests.
svn:r12960
|
|
svn:r12959
|
|
svn:r12958
|
|
svn:r12957
|
|
svn:r12953
|
|
for a v2 or v3 networkstatus object before we were prepared. This
was particularly bad for 0.2.0.13 and later bridge relays, who
would never have a v2 networkstatus and would thus always crash
when used. Bugfixes on 0.2.0.x.
Estimate the v3 networkstatus size more accurately, rather than
estimating it at zero bytes and giving it artificially high priority
compared to other directory requests. Bugfix on 0.2.0.x.
svn:r12952
|
|
svn:r12951
|
|
When we load a bridge descriptor from the cache,
and it was previously unreachable, mark it as retriable so we won't
just ignore it. Also, try fetching a new copy immediately.
svn:r12950
|
|
Refactor circuit_launch* functions to take a bitfield of flags rather than 4 separate nonconsecutive flags arguments. Also, note a possible but in circuit_find_to_cannibalize, which seems to be ignoring its purpose argument.
svn:r12948
|
|
Support building for iPhone; patch from cjacker huang.
svn:r12946
|
|
Handle cross-compilation more sanely: avoid most uses of the (never-defined!) CROSS_COMPILE variable; in the one place where we cannot help it, use the correct cross_compiling.
svn:r12945
|
|
Bump to 0.2.0.14-alpha-dev
svn:r12944
|
|
* Work around fig2dev failing to build the images on sparc like we do on s390.
svn:r12942
|
|
included upstream.
svn:r12941
|
|
svn:r12938
|
|
svn:r12937
|
|
svn:r12936
|
|
svn:r12935
|
|
svn:r12934
|
|
identical bridge-purpose descriptor soon after, don't discard
the next one as a duplicate.
svn:r12933
|
|
Try to resolve bug 553 by adding a sys/time.h include to the autoconf test for rlim_t.
svn:r12931
|
|
svn:r12930
|
|
snapshot of known bridge routerstatuses from their DirPort to
anybody who knows that password. Unset by default.
svn:r12929
|
|
without a datadirectory from a previous Tor install. Reported
by Zax.
svn:r12928
|
|
bridge communities.
svn:r12927
|
|
svn:r12926
|
|
RelayBandwidthBurst, then make them equal rather than erroring out.
svn:r12925
|
|
if we notice a cached-status directory and we're not serving v2 dir
info and it's old enough, delete it. same with cached-routers*.
svn:r12924
|
|
PublishServerDescriptor is now "bridge" rather than "v2,v3".
svn:r12923
|
|
have to change as we invent new directory protocol versions.
svn:r12922
|
|
currently have a Bridge line for it in our torrc. Bugfix on
0.2.0.12-alpha.
svn:r12921
|
|
svn:r12920
|
|
svn:r12919
|
|
svn:r12918
|
|
time you use a given introduction point for your service, but
on subsequent requests we'd be using garbage memory. Fixed by
Karsten Loesing. Bugfix on 0.2.0.12-alpha.
svn:r12913
|
|
svn:r12912
|
|
unexpected (it used to be in our networkstatus when we started
fetching it, but it isn't in our current networkstatus), and we
aren't using bridges. Bugfix on 0.2.0.x.
svn:r12911
|
|
* Fix unit tests from HEAD (13_r12907-fix-unit-tests.dpatch).
svn:r12909
|
|
svn:r12908
|
|
svn:r12907
|