| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
| |
Use svn revisions consistently throughout all log messages.
svn:r10291
|
|
|
|
|
|
|
| |
Partial backport candidate: do not rely on finding a \0 after an mmaped() router/extrainfo file. Also, set journal length correctly when starting up.
svn:r10248
|
|
|
|
|
|
|
| |
Address points in r10227.
svn:r10229
|
|
|
|
|
|
|
| |
items we should probably look into.
svn:r10227
|
|
|
|
|
|
|
| |
Fix compilation with -O0; add unit tests for swap and shuffle.
svn:r10223
|
|
|
|
|
|
|
| |
Fix build on gcc 4.2
svn:r10212
|
|
|
|
|
|
|
| |
Add a "swap" function to smartlist, add a "shuffle" function for smartlist to crypto.c, and make appropriate hashtable functions be more const.
svn:r10208
|
|
|
|
|
|
|
| |
Fix dumb bug introduced in r10199
svn:r10202
|
|
|
|
|
|
|
| |
Fix warnings from -Wunsafe-loop-optimizations, which incidentally turned up a logic bug in connection_or_flush_from_first_active_circuit that would overcount the number of cells flushed.
svn:r10199
|
|
|
|
|
|
|
| |
Enable (and cope with) more GCC 4.2 warnings.
svn:r10196
|
|
|
|
| |
svn:r10182
|
|
|
|
|
|
|
| |
[Backport candidate] On windows, open cached-routers with the sharing mode "FILE_SHARE_READ so that other processes can read it while Tor is running. (Reported by Janbar).
svn:r10148
|
|
|
|
| |
svn:r10111
|
|
|
|
|
|
|
| |
Remove the "RSA keys are 128-bits" assumption from crypto.c
svn:r10096
|
|
|
|
|
|
|
| |
More attempt to fix win32 building. This time, with extra linking.
svn:r10080
|
|
|
|
|
|
|
| |
Move private function declarations from crypto.c into a new #ifdef CRYPTO_PRIVATE block in crypto.h
svn:r10074
|
|
|
|
|
|
|
| |
Correctly report win98se and win95osr2 versions.
svn:r10047
|
|
|
|
|
|
|
| |
Keep a freelist of unused 4k buffer chunks, rather than wasting 8k for every inactive connection_t.
svn:r10006
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
More proposal-104 stuff: actually remember extra-info stuff.
svn:r9975
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Unit tests and debugging for memory pool implementation.
svn:r9938
|
|
|
|
|
|
|
| |
Initial version of memory pool logic. Needs unit tests. Made to be easily separable from Tor.
svn:r9937
|
|
|
|
| |
svn:r9914
|
|
|
|
|
|
|
| |
Check return values from pthread_mutex functions.
svn:r9862
|
|
|
|
| |
svn:r9832
|
|
|
|
|
|
|
| |
Oh. Tor was supposed to compile?
svn:r9797
|
|
|
|
|
|
|
| |
We have a PATH_SEPARATOR macro. How about we use it?
svn:r9782
|
|
|
|
|
|
|
| |
Excise PREDICT and PREDICT_FALSE in favor of PREDICT_LIKELY and PREDICT_UNLIKELY.
svn:r9781
|
|
|
|
|
|
|
| |
More unit tests: gcov is fun.
svn:r9748
|
|
|
|
|
|
|
| |
oops; remove spurious argument from _log_prefix.
svn:r9734
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Back out insufficiently evidenced FULL_UNROLL in aes.c
svn:r9693
|
|
|
|
|
|
|
| |
On mingw, use "%I64u" to printf/scanf 64-bit integers, instead of the usual GCC "%llu". This prevents a bug when saving 64-bit int configuration values on mingw; the high-order 32 bits would get truncated. If the value was then reloaded, disaster would occur. (Fixes bug 400 and maybe also bug 397.) Backport candidate.
svn:r9691
|
|
|
|
|
|
|
| |
Try to build without warnings on mingw with verbose warnings on. First attempt.
svn:r9688
|
|
|
|
|
|
|
| |
Correct an MSC_VER check.
svn:r9685
|
|
|
|
|
|
|
| |
compile fix on mingw: mingw does not define _MSC_VER.
svn:r9682
|
|
|
|
|
|
|
| |
Clamp declarable bandwidth at INT32_MAX, not INT_MAX.
svn:r9677
|
|
|
|
|
|
|
| |
Add some missing (redundant but helpful in most cases) static declarations, and remove a function nobody was calling.
svn:r9672
|
|
|
|
| |
svn:r9664
|
|
|
|
|
|
|
| |
try to make aes encryption of cells about 30-40% faster where applicable. offer not available for all architectures or all versions of openssl.
svn:r9663
|
|
|
|
|
|
|
| |
Add a quick-and-dirty AES benchmark function to the bottom of aes.c so I can go collecting data.
svn:r9660
|
|
|
|
|
|
|
| |
Note some optimizations that are probably not worth it for 0.1.2.x based on preliminary profiling.
svn:r9659
|
|
|
|
| |
svn:r9655
|