aboutsummaryrefslogtreecommitdiff
path: root/src/common/compat.c
Commit message (Expand)AuthorAge
* r18360@catbus: nickm | 2008-02-21 22:26:32 -0500••• Make torint.h define ssize_t more robustly; add spaces to last patch svn:r13670 Nick Mathewson2008-02-22
* r18358@catbus: nickm | 2008-02-21 22:21:57 -0500••• Remove extraneous commas in compat.c svn:r13669 Nick Mathewson2008-02-22
* r14374@tombo: nickm | 2008-02-21 16:57:39 -0500••• 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 Nick Mathewson2008-02-21
* r14371@tombo: nickm | 2008-02-21 16:13:18 -0500••• Fix all -Wshorten-64-to-32 warnings that appear on my macbook. svn:r13662 Nick Mathewson2008-02-21
* r18291@catbus: nickm | 2008-02-20 22:35:32 -0500••• Resolve all DOCDOC issues, and document some other undocumented code, and fix a changelog entry. svn:r13638 Nick Mathewson2008-02-21
* r18269@catbus: nickm | 2008-02-20 17:28:24 -0500••• 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 Nick Mathewson2008-02-20
* r18233@catbus: nickm | 2008-02-19 18:46:07 -0500••• Count sockets returned from socketpair() too. This is probably not the socket counting bug. svn:r13600 Nick Mathewson2008-02-19
* r18226@catbus: nickm | 2008-02-19 18:01:01 -0500••• Brown-paper-bag time. We were failing to count all the sockets from accept(). svn:r13595 Nick Mathewson2008-02-19
* r18221@catbus: nickm | 2008-02-19 17:46:16 -0500••• New debugging code to figure out what is happending with socket counts. svn:r13593 Nick Mathewson2008-02-19
* clean up the socket counting thing. third time's a charm.•••svn:r13581 Roger Dingledine2008-02-19
* r18198@catbus: nickm | 2008-02-19 14:30:30 -0500••• Try to *fix* the socket counting problem, and add an info log to detect whether we really fixed it svn:r13580 Nick Mathewson2008-02-19
* hunt for killerchicken's socket counting problem•••svn:r13578 Roger Dingledine2008-02-19
* We were leaking a file descriptor if Tor started with a zero-length•••cached-descriptors file. Patch by freddy77; bugfix on 0.1.2. svn:r13488 Roger Dingledine2008-02-13
* tweak•••svn:r13443 Roger Dingledine2008-02-09
* Update some copyright notices: it is now 2008.•••svn:r13412 Nick Mathewson2008-02-07
* r17899@catbus: nickm | 2008-02-05 14:14:06 -0500••• Fix a couple of XXX020 items. Also, disable all "condition" sychronization code, since Tor does not use it yet svn:r13380 Nick Mathewson2008-02-05
* clean up copyrights, and assign 2007 copyrights to The Tor Project, Inc•••svn:r12786 Roger Dingledine2007-12-12
* r15106@tombo: nickm | 2007-12-04 00:08:35 -0500••• 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 Nick Mathewson2007-12-04
* r16450@catbus: nickm | 2007-11-06 09:18:11 -0500••• Fix compile on sparc64 svn:r12394 Nick Mathewson2007-11-06
* r16367@catbus: nickm | 2007-11-02 13:13:15 -0400••• Space fixes. svn:r12345 Nick Mathewson2007-11-02
* r14652@tombo: nickm | 2007-11-02 12:02:13 -0400••• 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 Nick Mathewson2007-11-02
* r14647@tombo: nickm | 2007-11-02 10:48:37 -0400••• Use rlim_t instead of unsigned long to manipulate rlimit values. svn:r12339 Nick Mathewson2007-11-02
* r16128@catbus: nickm | 2007-10-24 22:52:16 -0400••• Fix windows mmap changes. svn:r12171 Nick Mathewson2007-10-25
* r16100@catbus: nickm | 2007-10-24 11:33:52 -0400••• Make tor_mmap_file() set and preserve errno in a useful way. svn:r12153 Nick Mathewson2007-10-24
* r14639@catbus: nickm | 2007-08-17 17:45:28 -0400••• Compile without warnings on MinGW, even with --enable-gcc-warnings enabled. svn:r11157 Nick Mathewson2007-08-17
* r14051@Kushana: nickm | 2007-08-15 15:55:36 -0400••• Fix an XXXX020 and a few DOCDOCs. svn:r11127 Nick Mathewson2007-08-15
* r13926@Kushana: nickm | 2007-08-03 00:55:23 -0700••• Fix compilation with HAVE_GETADDRINFO unset svn:r11042 Nick Mathewson2007-08-03
* r14015@catbus: nickm | 2007-07-30 13:18:05 -0400••• Add missing code documentation in src/common svn:r10991 Nick Mathewson2007-07-30
* r13944@catbus: nickm | 2007-07-27 15:52:35 -0400••• Fix warnings on platforms where rlim values can be signed. Add an 8k buffer freelist. svn:r10948 Nick Mathewson2007-07-27
* r13856@catbus: nickm | 2007-07-20 14:30:44 -0400••• slightly smarter heuristic about when to use obsolete ::a.b.c.d format. svn:r10893 Nick Mathewson2007-07-20
* r13850@catbus: nickm | 2007-07-20 12:25:24 -0400••• Fix some bugs in ntop/pton. svn:r10891 Nick Mathewson2007-07-20
* r13848@catbus: nickm | 2007-07-19 16:47:16 -0400••• Use our own version of inet_ntop and inet_pton everywhere, to avoid partitioning attacks. svn:r10888 Nick Mathewson2007-07-19
* r13827@catbus: nickm | 2007-07-19 14:42:25 -0400••• Merge in some generic address manipulation code from croup. Needs some work. svn:r10880 Nick Mathewson2007-07-19
* r13788@catbus: nickm | 2007-07-16 14:26:25 -0400••• 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 Nick Mathewson2007-07-16
* r13631@catbus: nickm | 2007-07-06 10:17:22 -0400••• Try to fix win32 build again. svn:r10750 Nick Mathewson2007-07-06
* r13600@Kushana: nickm | 2007-07-05 23:49:47 -0400••• try to fix mingw compile svn:r10743 Nick Mathewson2007-07-06
* r13596@kushana: nickm | 2007-07-05 10:53:22 -0400••• Argh, re-enable CRITICAL_SECTION code in win32. svn:r10741 Nick Mathewson2007-07-05
* svn:r10740Nick Mathewson2007-07-05
* r13570@catbus: nickm | 2007-06-30 20:41:05 -0400••• 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 Nick Mathewson2007-07-01
* trivial changes from my sandbox•••svn:r10429 Roger Dingledine2007-05-31
* r13111@catbus: nickm | 2007-05-31 15:03:41 -0400••• Cleanup whitespace. svn:r10425 Nick Mathewson2007-05-31
* r13101@catbus: nickm | 2007-05-31 12:57:42 -0400••• Unit tests [and debugging] for tor_inet_ntop() and tor_inet_pton() svn:r10420 Nick Mathewson2007-05-31
* r13050@catbus: nickm | 2007-05-29 13:31:11 -0400••• Resolve all but 3 DOCDOCs. svn:r10393 Nick Mathewson2007-05-29
* r13042@catbus: nickm | 2007-05-29 10:41:10 -0400••• oops; use tor_inet_aton rather than inet_aton in tor_inet_ntop. Spotted by Li-Hui Zhou. svn:r10389 Nick Mathewson2007-05-29
* r12955@catbus: nickm | 2007-05-25 13:17:30 -0400••• First bare stubs of ipv6 work: commit some (untested, hence doublessly broken) implementations of inet_ntop/pton for systems that lack them. svn:r10326 Nick Mathewson2007-05-25
* r12700@catbus: nickm | 2007-05-09 17:22:53 -0400••• [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 Nick Mathewson2007-05-09
* r12546@catbus: nickm | 2007-04-29 21:27:43 -0400••• Correctly report win98se and win95osr2 versions. svn:r10047 Nick Mathewson2007-04-30
* r12759@Kushana: nickm | 2007-04-20 08:47:20 -0400••• 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 Nick Mathewson2007-04-21
* r12191@catbus: nickm | 2007-03-15 15:33:37 -0400••• Check return values from pthread_mutex functions. svn:r9862 Nick Mathewson2007-03-17
* clean up some minor typos and log confusions•••svn:r9832 Roger Dingledine2007-03-15