aboutsummaryrefslogtreecommitdiff
path: root/src/common
AgeCommit message (Collapse)Author
2008-04-23 r15303@tombo: nickm | 2008-04-23 16:29:45 -0400Nick Mathewson
Embarassing. 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. Forward-port candidate. svn:r14429
2008-04-22 r15266@tombo: nickm | 2008-04-22 12:05:07 -0400Nick Mathewson
Backport: 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. svn:r14407
2008-04-09 r19269@catbus: nickm | 2008-04-09 14:24:36 -0400Nick Mathewson
Backport r14212: Free some static hashtables and the log mutex on exit. svn:r14333
2008-03-26backport r14165Roger Dingledine
svn:r14187
2008-03-18 r18930@catbus: nickm | 2008-03-18 12:08:28 -0400Nick Mathewson
Backport to 0.2.0: Detect errors from directory listing correctly on win32. Bug found by lodger. svn:r14103
2008-03-18 r18924@catbus: nickm | 2008-03-18 11:01:32 -0400Nick Mathewson
Backport: Add missing typecasts to log message in set_max_file_descriptors to tell gcc everything is okay on windows. Fixes bug 630. svn:r14100
2008-03-18 r18915@catbus: nickm | 2008-03-18 10:48:18 -0400Nick Mathewson
Fix unittests and router generation behavior on 0.2.0 branch. backport of r14084. fixes bug 631. svn:r14095
2008-03-17backport: And use 16k pages on ia64.Peter Palfrader
svn:r14074
2008-03-17 r18853@catbus: nickm | 2008-03-16 22:47:25 -0400Nick Mathewson
Backport: Downgrade "sslv3 alert handshake failure" message to info. svn:r14060
2008-03-17 r18851@catbus: nickm | 2008-03-16 22:35:48 -0400Nick Mathewson
Backport to 0.2.0 branch: Use 8k pages in openbsd malloc code on alpha. Bug and solution found by weasel. Also, when initializing openbsd malloc code, check that compiled page size matches output of getpagesize(). svn:r14059
2008-03-13backport: Logging functions now check that the passed severity is sane.Peter Palfrader
svn:r14008
2008-03-13 r18785@catbus: nickm | 2008-03-13 11:07:18 -0400Nick Mathewson
Backport: Have OpenBSD_malloc_Linux.c use SIZE_T_MAX from torint.h, instead of checking cpu macros. There is always one more cpu you havent checked for. fixes bug 625. svn:r14002
2008-03-11 r18760@catbus: nickm | 2008-03-11 19:51:08 -0400Nick Mathewson
Backport: Fix for bug 614: always look at the network BIO for the SSL object, not at the buffering BIO (if one exists because we are renegotiating or something). Bugfix on 0.1.2.x, oddly enough, though it should be impossible to trigger the problem there. See comments in tortls.c for detailed implementation note. svn:r13982
2008-03-11 r18748@catbus: nickm | 2008-03-11 13:21:33 -0400Nick Mathewson
Backport: Request client certs when renegotiating on server-side. Spotted by lodger. Bugfix on 0.2.0.x. svn:r13974
2008-03-01 r18536@catbus: nickm | 2008-03-01 09:58:55 -0500Nick Mathewson
Backport: People diagnosed and fixed bug 616. See changelog for details. Bugfix on 0.2.0.20-rc. svn:r13794
2008-02-24fix most of pnx's warnings on irix64Roger Dingledine
svn:r13706
2008-02-24 r14422@tombo: nickm | 2008-02-24 17:09:56 -0500Nick Mathewson
Whitespace fixes svn:r13700
2008-02-24<weasel> tortls.c: In function `tor_tls_client_is_using_v2_ciphers':Roger Dingledine
<weasel> tortls.c:634: warning: passing arg 1 of `SSL_get_session' discards qualifiers from pointer target type Nick, see if you like this patch. svn:r13690
2008-02-22 r14399@tombo: nickm | 2008-02-22 14:09:38 -0500Nick Mathewson
More 64-to-32 fixes. Partial backport candidate. still not done. svn:r13680
2008-02-22 r18360@catbus: nickm | 2008-02-21 22:26:32 -0500Nick Mathewson
Make torint.h define ssize_t more robustly; add spaces to last patch svn:r13670
2008-02-22 r18358@catbus: nickm | 2008-02-21 22:21:57 -0500Nick Mathewson
Remove extraneous commas in compat.c svn:r13669
2008-02-22 r18356@catbus: nickm | 2008-02-21 21:54:55 -0500Nick Mathewson
Remove redundant check from container.c that gcc 4.2 didnt like svn:r13668
2008-02-21 r14379@tombo: nickm | 2008-02-21 17:14:24 -0500Nick Mathewson
Enable v2 handshakes. svn:r13666
2008-02-21 r14374@tombo: nickm | 2008-02-21 16:57:39 -0500Nick Mathewson
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
2008-02-21 r14373@tombo: nickm | 2008-02-21 16:29:18 -0500Nick Mathewson
Apply warnings about implicit 64-to-32 conversions; some from Sebastian Hahn; some not. svn:r13664
2008-02-21maybe appease the overflow detectors moreRoger Dingledine
svn:r13663
2008-02-21 r14371@tombo: nickm | 2008-02-21 16:13:18 -0500Nick Mathewson
Fix all -Wshorten-64-to-32 warnings that appear on my macbook. svn:r13662
2008-02-21 r18345@catbus: nickm | 2008-02-21 13:45:04 -0500Nick Mathewson
Do the last part of arma's fix for bug 437: Track the origin of every addrmap, and use this info so we can remove all the trackhostexits-originated mappings for a given exit. svn:r13660
2008-02-21 r14362@31-33-219: nickm | 2008-02-21 11:01:10 -0500Nick Mathewson
Change some of our log messages related to closed TLS connections in order to better reflect reality. svn:r13657
2008-02-21 r18336@catbus: nickm | 2008-02-21 09:33:15 -0500Nick Mathewson
Patch from Sebastian Hahn: remove obsolete timeval manipulation functions. svn:r13653
2008-02-21other cleanups that have been sitting in my sandboxRoger Dingledine
svn:r13649
2008-02-21resolve one more, and leave two for nick.Roger Dingledine
svn:r13644
2008-02-21 r18296@catbus: nickm | 2008-02-20 23:30:11 -0500Nick Mathewson
Answer one xxx020 item; move 7 other ones to a new "XXX020rc" category: they should get fixed before we cut a release candidate. arma: please review these to see whether you have fixes/answers for any. Please check out the other 14 XXX020s to see if any look critical for the release candidate. svn:r13640
2008-02-21 r18294@catbus: nickm | 2008-02-20 22:42:44 -0500Nick Mathewson
Fix a spelling error and clean up a recent veracode-induced integer overflow check. Both spotted by Chris Palmer. svn:r13639
2008-02-21 r18291@catbus: nickm | 2008-02-20 22:35:32 -0500Nick Mathewson
Resolve all DOCDOC issues, and document some other undocumented code, and fix a changelog entry. svn:r13638
2008-02-21 r18290@catbus: nickm | 2008-02-20 22:34:59 -0500Nick Mathewson
Correct handling of nested MAP_FOREACH loops. There are none of those ATM, but isn't it nice that now they'll be correct? svn:r13637
2008-02-20 r18269@catbus: nickm | 2008-02-20 17:28:24 -0500Nick Mathewson
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
2008-02-20One last tweak on debugging code.Nick Mathewson
svn:r13621
2008-02-20 r18256@catbus: nickm | 2008-02-20 11:57:31 -0500Nick Mathewson
Simplify rounding logic in bitarray; fix a bug in bitarray_expand(). svn:r13619
2008-02-19 r18233@catbus: nickm | 2008-02-19 18:46:07 -0500Nick Mathewson
Count sockets returned from socketpair() too. This is probably not the socket counting bug. svn:r13600
2008-02-19 r18230@catbus: nickm | 2008-02-19 18:29:43 -0500Nick Mathewson
Add a few asserts to catch possible errors found by veracode. svn:r13598
2008-02-19 r18228@catbus: nickm | 2008-02-19 18:05:53 -0500Nick Mathewson
Chris Palmer notes that almost nobody is using smartlist_set_capacity(). Chris Palmer is right. Remove this basically pointless function. svn:r13596
2008-02-19 r18226@catbus: nickm | 2008-02-19 18:01:01 -0500Nick Mathewson
Brown-paper-bag time. We were failing to count all the sockets from accept(). svn:r13595
2008-02-19 r18221@catbus: nickm | 2008-02-19 17:46:16 -0500Nick Mathewson
New debugging code to figure out what is happending with socket counts. svn:r13593
2008-02-19 r18218@catbus: nickm | 2008-02-19 17:27:40 -0500Nick Mathewson
When SafeLogging is off, have TLS errors and messages logged with their associated addresses. svn:r13591
2008-02-19 r18208@catbus: nickm | 2008-02-19 17:02:30 -0500Nick Mathewson
Add some checks in torgzip.c to make sure we never overflow size_t there. Also make sure we do not realloc(list,0) in container.c. Backport candidate. svn:r13587
2008-02-19clean up the socket counting thing. third time's a charm.Roger Dingledine
svn:r13581
2008-02-19 r18198@catbus: nickm | 2008-02-19 14:30:30 -0500Nick Mathewson
Try to *fix* the socket counting problem, and add an info log to detect whether we really fixed it svn:r13580
2008-02-19hunt for killerchicken's socket counting problemRoger Dingledine
svn:r13578
2008-02-18 r18138@catbus: nickm | 2008-02-18 13:13:18 -0500Nick Mathewson
Try to make conditional include logic for openbsd malloc not warn on arma's computer. May fix bug 610. svn:r13557