aboutsummaryrefslogtreecommitdiff
path: root/src/common
Commit message (Collapse)AuthorAge
* fix a leak when adding a temp logRoger Dingledine2008-03-26
| | | | svn:r14203
* fix mem leak in parsing log config linesRoger Dingledine2008-03-26
| | | | svn:r14202
* r19072@catbus: nickm | 2008-03-26 13:50:24 -0400Nick Mathewson2008-03-26
| | | | | | | Add code to debug memory area size. Use results of this code to set a couple of area sizes more sanely. svn:r14201
* r19062@catbus: nickm | 2008-03-26 12:56:25 -0400Nick Mathewson2008-03-26
| | | | | | | Fix whitespace svn:r14197
* r19049@catbus: nickm | 2008-03-26 12:33:25 -0400Nick Mathewson2008-03-26
| | | | | | | Add new stacklike, free-all-at-once memory allocation strategy. Use it when parsing directory information. This helps parsing speed, and may well help fragmentation some too. hidden-service-related stuff still uses the old tokenizing strategies. svn:r14194
* r19041@catbus: nickm | 2008-03-25 16:20:42 -0400Nick Mathewson2008-03-25
| | | | | | | More unit tests to improve coverage. svn:r14185
* r19039@catbus: nickm | 2008-03-25 12:15:58 -0400Nick Mathewson2008-03-25
| | | | | | | Add some unit tests, particularly for AES counter mode. svn:r14180
* correct a confusing log messageRoger Dingledine2008-03-24
| | | | svn:r14165
* r19004@catbus: nickm | 2008-03-21 15:18:43 -0400Nick Mathewson2008-03-21
| | | | | | | Use RAND_poll() again: the bug that made us stop using it has been fixed. svn:r14150
* r18929@catbus: nickm | 2008-03-18 12:08:16 -0400Nick Mathewson2008-03-18
| | | | | | | Detect errors from directory listing correctly on win32. Bug found by lodger. svn:r14102
* r18927@catbus: nickm | 2008-03-18 11:11:49 -0400Nick Mathewson2008-03-18
| | | | | | | 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
* r18923@catbus: nickm | 2008-03-18 11:01:22 -0400Nick Mathewson2008-03-18
| | | | | | | Add missing typecasts to log message in set_max_file_descriptors to tell gcc everything is okay on windows. Fixes bug 630. svn:r14099
* r18919@catbus: nickm | 2008-03-18 10:53:38 -0400Nick Mathewson2008-03-18
| | | | | | | Forward-port bug 622 fix as diagnosed by lodger. svn:r14096
* r18890@catbus: nickm | 2008-03-17 13:19:29 -0400Nick Mathewson2008-03-17
| | | | | | | Clarify documentation for file_status a little svn:r14079
* And use 16k pages on ia64. Maybe this should be a configure thingPeter Palfrader2008-03-17
| | | | svn:r14073
* r18878@catbus: nickm | 2008-03-17 00:11:02 -0400Nick Mathewson2008-03-17
| | | | | | | Clean up an overwide line. svn:r14072
* r18861@catbus: nickm | 2008-03-16 23:22:56 -0400Nick Mathewson2008-03-17
| | | | | | | Fix a couple of bugs in setting control log callback severity. svn:r14065
* r18852@catbus: nickm | 2008-03-16 22:47:19 -0400Nick Mathewson2008-03-17
| | | | | | | Downgrade "sslv3 alert handshake failure" message to info. svn:r14057
* r18850@catbus: nickm | 2008-03-16 22:35:38 -0400Nick Mathewson2008-03-17
| | | | | | | 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:r14056
* r18804@catbus: nickm | 2008-03-13 18:18:31 -0400Nick Mathewson2008-03-13
| | | | | | | Refactor log domain mask code so that nobody outside of log.c has to use SEVERITY_MASK_IDX. It is error-prone. svn:r14016
* r18803@catbus: nickm | 2008-03-13 17:59:25 -0400Nick Mathewson2008-03-13
| | | | | | | Fix behavior of switch_logs_debug() in trunk. Fixes bug 626. Bugfix on r13875. svn:r14015
* r18793@catbus: nickm | 2008-03-13 14:09:19 -0400Nick Mathewson2008-03-13
| | | | | | | Add a malloc_good_size() implementation to OpenBSD_malloc_Linux.c. Also, make configure.in not use support functions for the platform malloc when we are not using the platform mallocs. svn:r14010
* Assert that severity in logv() is sane. Interesting effects otherwise (It ↵Peter Palfrader2008-03-13
| | | | | | is being used as an array index) svn:r14006
* r18783@catbus: nickm | 2008-03-13 11:06:45 -0400Nick Mathewson2008-03-13
| | | | | | | Oops, do a better fix for that. svn:r14001
* r18781@catbus: nickm | 2008-03-13 11:00:51 -0400Nick Mathewson2008-03-13
| | | | | | | 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. svn:r14000
* I wonder what the DISGARD service isPeter Palfrader2008-03-13
| | | | svn:r13999
* r18753@catbus: nickm | 2008-03-11 14:56:39 -0400Nick Mathewson2008-03-11
| | | | | | | Make some assert()s into tor_assert()s. Make some tor_assert()s called from logging into assert()s, and document why. svn:r13977
* r18751@catbus: nickm | 2008-03-11 14:22:43 -0400Nick Mathewson2008-03-11
| | | | | | | 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. Backport candidate. See comments in tortls.c for detailed implementation note. svn:r13975
* r18747@catbus: nickm | 2008-03-11 13:21:25 -0400Nick Mathewson2008-03-11
| | | | | | | Request client certs when renegotiating on server-side. Spotted by lodger. Bugfix on 0.2.0.x. svn:r13973
* r18639@catbus: nickm | 2008-03-07 20:11:48 -0500Nick Mathewson2008-03-08
| | | | | | | Change semantics of add-a-log functions to copy severity setup: that is way less error-prone. Fix up config.c to act accordingly. svn:r13888
* r18638@catbus: nickm | 2008-03-07 20:11:15 -0500Nick Mathewson2008-03-08
| | | | | | | Fix typo in tortls.c comment. svn:r13887
* r18630@catbus: nickm | 2008-03-05 17:31:33 -0500Nick Mathewson2008-03-05
| | | | | | | Implement domain-selection for logging. Source is documented; needs documentation in manpage (maybe). For now, see doxygen comment on parse_log_severity_config in log.c svn:r13875
* r18535@catbus: nickm | 2008-03-01 09:58:33 -0500Nick Mathewson2008-03-01
| | | | | | | Whoo. People diagnosed and fixed bug 616. See changelog for details. Bugfix on 0.2.0.20-rc. svn:r13793
* be a little bit more helpful than "Error reading directory."Roger Dingledine2008-02-28
| | | | | | | make a note to try to be more helpful still. svn:r13776
* r14516@tombo: nickm | 2008-02-27 03:10:26 -0500Nick Mathewson2008-02-27
| | | | | | | Write some unit tests for a few functions and cases that needed them. svn:r13751
* fix most of pnx's warnings on irix64Roger Dingledine2008-02-24
| | | | svn:r13706
* r14422@tombo: nickm | 2008-02-24 17:09:56 -0500Nick Mathewson2008-02-24
| | | | | | | Whitespace fixes svn:r13700
* <weasel> tortls.c: In function `tor_tls_client_is_using_v2_ciphers':Roger Dingledine2008-02-24
| | | | | | | | | | <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
* r14399@tombo: nickm | 2008-02-22 14:09:38 -0500Nick Mathewson2008-02-22
| | | | | | | More 64-to-32 fixes. Partial backport candidate. still not done. svn:r13680
* r18360@catbus: nickm | 2008-02-21 22:26:32 -0500Nick Mathewson2008-02-22
| | | | | | | Make torint.h define ssize_t more robustly; add spaces to last patch svn:r13670
* r18358@catbus: nickm | 2008-02-21 22:21:57 -0500Nick Mathewson2008-02-22
| | | | | | | Remove extraneous commas in compat.c svn:r13669
* r18356@catbus: nickm | 2008-02-21 21:54:55 -0500Nick Mathewson2008-02-22
| | | | | | | Remove redundant check from container.c that gcc 4.2 didnt like svn:r13668
* r14379@tombo: nickm | 2008-02-21 17:14:24 -0500Nick Mathewson2008-02-21
| | | | | | | Enable v2 handshakes. svn:r13666
* r14374@tombo: nickm | 2008-02-21 16:57:39 -0500Nick Mathewson2008-02-21
| | | | | | | 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
* r14373@tombo: nickm | 2008-02-21 16:29:18 -0500Nick Mathewson2008-02-21
| | | | | | | Apply warnings about implicit 64-to-32 conversions; some from Sebastian Hahn; some not. svn:r13664
* maybe appease the overflow detectors moreRoger Dingledine2008-02-21
| | | | svn:r13663
* r14371@tombo: nickm | 2008-02-21 16:13:18 -0500Nick Mathewson2008-02-21
| | | | | | | Fix all -Wshorten-64-to-32 warnings that appear on my macbook. svn:r13662
* r18345@catbus: nickm | 2008-02-21 13:45:04 -0500Nick Mathewson2008-02-21
| | | | | | | 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
* r14362@31-33-219: nickm | 2008-02-21 11:01:10 -0500Nick Mathewson2008-02-21
| | | | | | | Change some of our log messages related to closed TLS connections in order to better reflect reality. svn:r13657
* r18336@catbus: nickm | 2008-02-21 09:33:15 -0500Nick Mathewson2008-02-21
| | | | | | | Patch from Sebastian Hahn: remove obsolete timeval manipulation functions. svn:r13653