Age | Commit message (Collapse) | Author |
|
Fix warning aobut unused parameter on platforms without mallinfo.
svn:r11010
|
|
Glibc (and maybe others) define a mallinfo() that can be used to see how the platform malloc is acting inside. When we have it, dump its output on dumpmemusage().
svn:r10996
|
|
Add missing code documentation in src/common
svn:r10991
|
|
Cheesy attempt to break some censorware. Not a long-term fix, but it will be intersting to watch the epidemiology of the workarounds as the censors apply them.
svn:r10975
|
|
Change "IN_ADDR" macro to "IN4_ADDR" in an attempt to fix mingw compilation
svn:r10963
|
|
Fix warnings on platforms where rlim values can be signed.
Add an 8k buffer freelist.
svn:r10948
|
|
Fix spelling; add a comment.
svn:r10943
|
|
check.
svn:r10941
|
|
Add a bit-array type with reasonably fast inline functions.
svn:r10938
|
|
whitespace fixes
svn:r10935
|
|
Fix/note some relatively trivial mem usage issues
svn:r10905
|
|
slightly smarter heuristic about when to use obsolete ::a.b.c.d format.
svn:r10893
|
|
Fix some bugs in ntop/pton.
svn:r10891
|
|
Use our own version of inet_ntop and inet_pton everywhere, to avoid partitioning attacks.
svn:r10888
|
|
Apparently, this problem can occur on the whole BSD family. "Yay."
svn:r10884
|
|
Apparently, OSX does not define s6_addr32 or s6_addr16. How silly.
svn:r10883
|
|
Some older GCCs think that iph4 could be used uninitialized. Fix that.
svn:r10882
|
|
Another patch from croup: drop support for address masks that do not correspond to bit prefixes. Nobody has used this for a while, and we have given warnings for a long time.
svn:r10881
|
|
Merge in some generic address manipulation code from croup. Needs some work.
svn:r10880
|
|
Patch from croup: rewrite the logic of get_next_token() to do the right thing with input that ends at weird places, or aligns with block boundaries after mmap. should fix bug 455. Needs fuzzing.
svn:r10847
|
|
svn:r10837
|
|
Possible partial fix for bug 455: use eos logic everywhere.
svn:r10786
|
|
Try to fix win32 build again.
svn:r10750
|
|
try to fix mingw compile
svn:r10743
|
|
Argh, re-enable CRITICAL_SECTION code in win32.
svn:r10741
|
|
|
|
Switch windows locking implementation to CRITICAL_SECTION, not Mutex: Mutex is heavier-weight, and meant for multi-process situations.
svn:r10739
|
|
svn:r10722
|
|
svn:r10721
|
|
Implement conditions in compat.c; switch windows to use "critical sections" instead of mutexes. Apparently, mutexes are for IPC and critical sections are for multithreaded.
svn:r10716
|
|
Sun CC likes to give warnings for the do { } while(0) construction for making statement-like macros. Define STMT_BEGIN/STMT_END macros that do the right thing, and use them everywhere.
svn:r10645
|
|
Build with fewer compiler warnings on Sun. (This and previous Sun patches are thanks to the tremendously handy services of unix-center.net.)
svn:r10644
|
|
Fix compilation on compilers that do not allow you to typedef the same type twice.
svn:r10598
|
|
make test_* functions stop conflicting with variables named v1 and v2.
svn:r10584
|
|
Expose a function to parse a private key from a string as CRYPTO_PRIVATE. For testing.
svn:r10583
|
|
Fix a warning on platforms where sizeof(size_t)==8, but sizeof(unsigned long)<8.
svn:r10566
|
|
Fix some dumb copypasta in r10562.
svn:r10565
|
|
Add typechecking wrappers to digestmap, so we can work with "map from digest to [FOO]" for arbitrary FOOs and still have some typesafety.
svn:r10562
|
|
Fix up a couple of loops flagged by -Wunsafe-loop-optimizations so that they are more readable (and more amenable to compilation)
svn:r10513
|
|
Start of code to compute consensus network-status stuff from a bunch of votes. Strangely, it does not yet feel like an enormous ugly hack.
svn:r10489
|
|
Fix the fix for bug 445: set umask properly. Also use open+fdopen rather than just umask+fopen, and create authority identity key with mode 400.
svn:r10485
|
|
Set umask(0700) when starting tor-gencert; resolves bug 445.
svn:r10475
|
|
Server-side support for If-Modified-Since in HTTP requsts for v1 stuff, and for network-status documents.
svn:r10451
|
|
Try to fix some mipspro compiler warnings. There will still be some left.
svn:r10444
|
|
svn:r10429
|
|
Cleanup whitespace.
svn:r10425
|
|
Fix windows build.
svn:r10424
|
|
Unit tests [and debugging] for tor_inet_ntop() and tor_inet_pton()
svn:r10420
|
|
Note that the fix for bug 222 should technically be turned into a real fix, not a kludge, one of these days.
svn:r10397
|
|
An even better workaround for the probably-already-fixed bug 222.
svn:r10395
|