aboutsummaryrefslogtreecommitdiff
path: root/src/common
Commit message (Collapse)AuthorAge
* fix typo in earlier libevent mmessage suppress patchNick Mathewson2005-04-01
| | | | svn:r3950
* Add code to suppress spurious libevent log msgs; use it to resolve bug 68.Nick Mathewson2005-04-01
| | | | svn:r3948
* Use recent libevent features when possibleNick Mathewson2005-04-01
| | | | svn:r3940
* Try to make crash-on-shutdown bug harder to trigger.Nick Mathewson2005-04-01
| | | | svn:r3939
* add a tor_tls_is_server method to remember if conn->tlsRoger Dingledine2005-03-31
| | | | | | | was an initiator or a receiver svn:r3931
* remember some thoughts about using WSAStartup to learnRoger Dingledine2005-03-28
| | | | | | | how many sockets we get to use on win32. svn:r3905
* Fix a few more instances of memory not freed on exit (found by weasel).Nick Mathewson2005-03-23
| | | | svn:r3830
* bugfix: make smartlist_join_strings2 actually use the separator/terminatorRoger Dingledine2005-03-22
| | | | svn:r3805
* Commit fixes for several pending tor core tasks: document all DOCDOCed ↵Nick Mathewson2005-03-17
| | | | | | functions; time out uncontrolled unattached streams; feed reasons to SOCKS5 (refactoring connection_ap_handshake_socks_reply in the process); change DirFetchPeriod/StatusFetchPeriod to have a special "Be smart" value. svn:r3769
* Fix a fun windows bug: apparently windows stat wants paths not to end with ↵Nick Mathewson2005-03-16
| | | | | | slash. svn:r3766
* Fix some more obscure compiler warningsNick Mathewson2005-03-14
| | | | svn:r3758
* Renormalize whitespaceNick Mathewson2005-03-14
| | | | svn:r3757
* Finish implementing GETINFO; make it easy to query address maps.Nick Mathewson2005-03-03
| | | | svn:r3732
* Try a little harder to avoid openssl SSL* double-free reports.Nick Mathewson2005-02-28
| | | | svn:r3710
* Fix strmap_free to release memory actually held by the strmap.Nick Mathewson2005-02-28
| | | | svn:r3708
* give a better warning when tor points at an https server.Nick Mathewson2005-02-28
| | | | svn:r3706
* Be specific about which "illegal character" we just saw in the cert.Nick Mathewson2005-02-25
| | | | svn:r3699
* Implement more control spec functionalityNick Mathewson2005-02-25
| | | | | | | | | | | | | | | | | | - Mapaddress - Postdescriptor - GetInfo on descriptors Required changes elsewhere: - Keep the most recent running_routers_t in the routerlist_t. That way we can learn about new routers and remember whether we were last told that they were up or down. Also enables more simplifications. - Keep the signed descriptor inside routerinfo_t. This makes descriptor_entry_t in dirservers.c unneeded. - Rename AddressMap (the verb) to MapAddress. Keep AddressMap as a noun. - Check addresses for plausibility before mapping them. svn:r3696
* Forward-port the trick to bump up ConnLimit as far as it canRoger Dingledine2005-02-22
| | | | | | | | go, but not past MAXCONNECTIONS. Also throw away the FAKE_POLL caveats since 0.1.0 doesn't need it any more. svn:r3657
* Change from inet_ntoa to a threadproof tor_inet_ntoa.Nick Mathewson2005-02-22
| | | | svn:r3656
* Note a non-bug in read_file_to_str as used. If we start to rely on it ↵Nick Mathewson2005-02-22
| | | | | | behaving differently, we need to change how it behaves. [Noticed by Chris Palmer] svn:r3655
* But on windows, localtime and gmtime _are_ threadsafe.Nick Mathewson2005-02-22
| | | | svn:r3654
* Patch to localtime/gmtime handling: use the _r variants where available. ↵Nick Mathewson2005-02-22
| | | | | | Use mutexes to fake _r where necessary. Make mutexes no-ops where no threading is enabled. svn:r3653
* Remove assumptions that maximum path length is anything like 1024. From ↵Nick Mathewson2005-02-22
| | | | | | comments by Chris Palmer svn:r3652
* remove spurious semicolonsNick Mathewson2005-02-22
| | | | svn:r3650
* Snarf some logic from python, adapted to our own needs, to handle ↵Nick Mathewson2005-02-22
| | | | | | gethostbyname_r correctly across platforms. svn:r3649
* Initial IRIX compatibility fixes: check for inttypes.h; check for platform ↵Nick Mathewson2005-02-22
| | | | | | cell_t. svn:r3648
* Fix windows build: do not spuriously include openssl where not needed; ↵Nick Mathewson2005-02-22
| | | | | | handle lack of gethostbyname_r properly. svn:r3644
* bugfix: actually use the argument to strmap_free()Roger Dingledine2005-02-20
| | | | svn:r3640
* avoid case (not yet triggered) where smartlists could grow outRoger Dingledine2005-02-19
| | | | | | | of control svn:r3636
* Tell openssl how to use locks and how to find thread ids -- this may prevent ↵Nick Mathewson2005-02-13
| | | | | | race conditions surrounding the error queue. svn:r3622
* Apply windows patch from Dmitri BelyNick Mathewson2005-02-12
| | | | svn:r3617
* Free tls resources on exit tooNick Mathewson2005-02-11
| | | | svn:r3615
* Handle return value from getaddrinfo properlyNick Mathewson2005-02-03
| | | | svn:r3526
* Use getaddrinfo and gethostbyname_r where available. Note that these are ↵Nick Mathewson2005-02-03
| | | | | | not necessarily threadsafe: this needs more thinking. Perhaps we should back down on this multithreading idea. svn:r3522
* Forward-port SGI Compatibility patches from Jan SchaumannNick Mathewson2005-02-03
| | | | svn:r3517
* point out a potential thread/process leak problem when we're out of memoryRoger Dingledine2005-02-03
| | | | svn:r3512
* Add --with-dmalloc configure optionPeter Palfrader2005-02-03
| | | | svn:r3508
* http://www.erlenstar.demon.co.uk/unix/faq_2.html says weRoger Dingledine2005-02-03
| | | | | | | should call _exit, not exit, from child processes. svn:r3506
* clarify what smartlist_remove promises, since we rely on it.Roger Dingledine2005-01-31
| | | | svn:r3473
* Add rudimentary pthread support that needs more testing.Nick Mathewson2005-01-27
| | | | svn:r3439
* fwd-port win32 isprint fixNick Mathewson2005-01-22
| | | | svn:r3410
* forward-port: fix win32 compileRoger Dingledine2005-01-22
| | | | svn:r3406
* give a header file for ntohsRoger Dingledine2005-01-20
| | | | svn:r3388
* Compilation fixes for win32 version detection.Nick Mathewson2005-01-20
| | | | svn:r3385
* Make zlib detection happy on little-endian platforms; fix unit tests.Nick Mathewson2005-01-20
| | | | svn:r3384
* Detect windows platform correctlyNick Mathewson2005-01-19
| | | | svn:r3377
* Make detect_compression_method work on platforms with more evil chars.Nick Mathewson2005-01-19
| | | | svn:r3376
* Workaround for webservers that lie about Content-Encoding: Tor now tries to ↵Nick Mathewson2005-01-19
| | | | | | autodetect compressed directories and compression itself. (resolves bug 65) svn:r3374
* Make Tor use Niels Provos's libevent instead of it's currentNick Mathewson2005-01-12
| | | | | | | | | | | | poll-but-sometimes-select mess. This will let us use faster async cores (like epoll, kpoll, and /dev/poll), and hopefully work better on Windows too. There are some fairly nasty changes to main.c here; this will almost certainly break something. But hey, that's what alphas are for. svn:r3341