Age | Commit message (Collapse) | Author |
|
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
|
|
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
|
|
Backport r14212: Free some static hashtables and the log mutex on exit.
svn:r14333
|
|
svn:r14187
|
|
Backport to 0.2.0: Detect errors from directory listing correctly on win32. Bug found by lodger.
svn:r14103
|
|
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
|
|
Fix unittests and router generation behavior on 0.2.0 branch. backport of r14084. fixes bug 631.
svn:r14095
|
|
svn:r14074
|
|
Backport: Downgrade "sslv3 alert handshake failure" message to info.
svn:r14060
|
|
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
|
|
svn:r14008
|
|
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
|
|
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
|
|
Backport: Request client certs when renegotiating on server-side. Spotted by lodger. Bugfix on 0.2.0.x.
svn:r13974
|
|
Backport: People diagnosed and fixed bug 616. See changelog for details. Bugfix on 0.2.0.20-rc.
svn:r13794
|
|
svn:r13706
|
|
Whitespace fixes
svn:r13700
|
|
<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
|
|
More 64-to-32 fixes. Partial backport candidate. still not done.
svn:r13680
|
|
Make torint.h define ssize_t more robustly; add spaces to last patch
svn:r13670
|
|
Remove extraneous commas in compat.c
svn:r13669
|
|
Remove redundant check from container.c that gcc 4.2 didnt like
svn:r13668
|
|
Enable v2 handshakes.
svn:r13666
|
|
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
|
|
Apply warnings about implicit 64-to-32 conversions; some from Sebastian Hahn; some not.
svn:r13664
|
|
svn:r13663
|
|
Fix all -Wshorten-64-to-32 warnings that appear on my macbook.
svn:r13662
|
|
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
|
|
Change some of our log messages related to closed TLS connections in order to better reflect reality.
svn:r13657
|
|
Patch from Sebastian Hahn: remove obsolete timeval manipulation functions.
svn:r13653
|
|
svn:r13649
|
|
svn:r13644
|
|
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
|
|
Fix a spelling error and clean up a recent veracode-induced integer overflow check. Both spotted by Chris Palmer.
svn:r13639
|
|
Resolve all DOCDOC issues, and document some other undocumented code, and fix a changelog entry.
svn:r13638
|
|
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
|
|
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
|
|
svn:r13621
|
|
Simplify rounding logic in bitarray; fix a bug in bitarray_expand().
svn:r13619
|
|
Count sockets returned from socketpair() too. This is probably not the socket counting bug.
svn:r13600
|
|
Add a few asserts to catch possible errors found by veracode.
svn:r13598
|
|
Chris Palmer notes that almost nobody is using smartlist_set_capacity(). Chris Palmer is right. Remove this basically pointless function.
svn:r13596
|
|
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
|
|
When SafeLogging is off, have TLS errors and messages logged with their associated addresses.
svn:r13591
|
|
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
|
|
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
|
|
Try to make conditional include logic for openbsd malloc not warn on arma's computer. May fix bug 610.
svn:r13557
|