| Commit message (Collapse) | Author | Age |
... | |
|
|
|
| |
svn:r17239
|
|
|
|
| |
svn:r17233
|
|
|
|
|
|
|
| |
hopefully will address bug 857.
svn:r17232
|
|
|
|
| |
svn:r17228
|
|
|
|
|
|
|
| |
the bottom of switch_id
svn:r17205
|
|
|
|
|
|
|
|
| |
idempotent. so now we remember if we've succeeded, and if so we
don't even try.
svn:r17204
|
|
|
|
| |
svn:r17203
|
|
|
|
|
|
| |
regularly make check-spaces. Also, int fn() does not mean the same in C as it does in C++ or Java.
svn:r17201
|
|
|
|
|
|
| |
set supplementary groups, deprecated the Group option, and log more information on credential switching
svn:r17200
|
|
|
|
| |
svn:r16759
|
|
|
|
|
|
|
| |
for tas, but who knows.
svn:r16723
|
|
|
|
|
|
| |
start with the same datadir, or where a --list-fingerprints races with a server to create keys, or such.
svn:r16722
|
|
|
|
|
|
|
| |
Make definition of tor_mutex_t go into compat.h, so that it is possible to inline mutexes in critical objects. Add init/uninit functions for mutexes allocated inside other structs.
svn:r16623
|
|
|
|
|
|
|
| |
Split out the address manipulation functions from compat and util: they were about 21% of the total of those, and spread out too much.
svn:r16208
|
|
|
|
|
|
|
| |
Make generic address manipulation functions work better. Switch address policy code to use tor_addr_t, so it can handle IPv6. That is a good place to start.
svn:r16178
|
|
|
|
|
|
|
| |
Rename tor_addr_t manipulation functions for a consistent style.
svn:r14639
|
|
|
|
|
|
|
| |
Forward-port: I had apparently broken OSX and Freebsd by not initializing threading before we initialize the logging system. This patch should do so, and fix bug 671.
svn:r14430
|
|
|
|
|
|
|
| |
On platforms using pthreads, allow a thread to acquire a lock it already holds. This is crucial for logging: otherwise any log message thrown from inside the logging process (especially from control.c) will deadlock. Win32 CriticalSections are already recursive. Bug spotted by nwf. Bugfix on 0.2.0.16-alpha. Backport candidate. I hope this is portable.
svn:r14406
|
|
|
|
|
|
|
| |
Combine common code in set_max_file_descriptors(): all that varies from platform to platform in the no-getrlimit() case is the connection limit and the platform name.
svn:r14101
|
|
|
|
|
|
|
| |
Add missing typecasts to log message in set_max_file_descriptors to tell gcc everything is okay on windows. Fixes bug 630.
svn:r14099
|
|
|
|
|
|
|
| |
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
|