Age | Commit message (Collapse) | Author |
|
Make torint.h define ssize_t more robustly; add spaces to last patch
svn:r13670
|
|
Remove extraneous commas in compat.c
svn:r13669
|
|
Fix all remaining shorten-64-to-32 errors in src/common. Some were genuine problems. Many were compatibility errors with libraries (openssl, zlib) that like predate size_t. Partial backport candidate.
svn:r13665
|
|
Fix all -Wshorten-64-to-32 warnings that appear on my macbook.
svn:r13662
|
|
Resolve all DOCDOC issues, and document some other undocumented code, and fix a changelog entry.
svn:r13638
|
|
Apply patch from Sebastian Hahn: stop imposing an arbitrary maximum on the number of file descriptors used for busy servers. Bug reported by Olaf Selke.
svn:r13626
|
|
Count sockets returned from socketpair() too. This is probably not the socket counting bug.
svn:r13600
|
|
Brown-paper-bag time. We were failing to count all the sockets from accept().
svn:r13595
|
|
New debugging code to figure out what is happending with socket counts.
svn:r13593
|
|
svn:r13581
|
|
Try to *fix* the socket counting problem, and add an info log to detect whether we really fixed it
svn:r13580
|
|
svn:r13578
|
|
cached-descriptors file. Patch by freddy77; bugfix on 0.1.2.
svn:r13488
|
|
svn:r13443
|
|
svn:r13412
|
|
Fix a couple of XXX020 items. Also, disable all "condition" sychronization code, since Tor does not use it yet
svn:r13380
|
|
svn:r12786
|
|
Change tor_addr_t to be a tagged union of in_addr and in6_addr, not of sockaddr_in and sockaddr_in6. It's hardly used in the main code as it is, but let's get it right before it gets popular.
svn:r12660
|
|
Fix compile on sparc64
svn:r12394
|
|
Space fixes.
svn:r12345
|
|
If setting our rlimit to rlim_max or cap fails, fall back to OPEN_FILES if defiled. This makes Tor run on OSX 10.5, while allowing OSX to mend its ways in the future.
svn:r12341
|
|
Use rlim_t instead of unsigned long to manipulate rlimit values.
svn:r12339
|
|
Fix windows mmap changes.
svn:r12171
|
|
Make tor_mmap_file() set and preserve errno in a useful way.
svn:r12153
|
|
Compile without warnings on MinGW, even with --enable-gcc-warnings enabled.
svn:r11157
|
|
Fix an XXXX020 and a few DOCDOCs.
svn:r11127
|
|
Fix compilation with HAVE_GETADDRINFO unset
svn:r11042
|
|
Add missing code documentation in src/common
svn:r10991
|
|
Fix warnings on platforms where rlim values can be signed.
Add an 8k buffer freelist.
svn:r10948
|
|
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
|
|
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
|
|
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
|
|
|
|
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
|
|
svn:r10429
|
|
Cleanup whitespace.
svn:r10425
|
|
Unit tests [and debugging] for tor_inet_ntop() and tor_inet_pton()
svn:r10420
|
|
Resolve all but 3 DOCDOCs.
svn:r10393
|
|
oops; use tor_inet_aton rather than inet_aton in tor_inet_ntop. Spotted by Li-Hui Zhou.
svn:r10389
|
|
First bare stubs of ipv6 work: commit some (untested, hence doublessly broken) implementations of inet_ntop/pton for systems that lack them.
svn:r10326
|
|
[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
|
|
Correctly report win98se and win95osr2 versions.
svn:r10047
|
|
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
|
|
Check return values from pthread_mutex functions.
svn:r9862
|
|
svn:r9832
|