summaryrefslogtreecommitdiff
path: root/src/common
AgeCommit message (Collapse)Author
2005-04-01update copyright notices.Nick Mathewson
svn:r3982
2005-04-01fix typo in earlier libevent mmessage suppress patchNick Mathewson
svn:r3950
2005-04-01Add code to suppress spurious libevent log msgs; use it to resolve bug 68.Nick Mathewson
svn:r3948
2005-04-01Use recent libevent features when possibleNick Mathewson
svn:r3940
2005-04-01Try to make crash-on-shutdown bug harder to trigger.Nick Mathewson
svn:r3939
2005-03-31add a tor_tls_is_server method to remember if conn->tlsRoger Dingledine
was an initiator or a receiver svn:r3931
2005-03-28remember some thoughts about using WSAStartup to learnRoger Dingledine
how many sockets we get to use on win32. svn:r3905
2005-03-23Fix a few more instances of memory not freed on exit (found by weasel).Nick Mathewson
svn:r3830
2005-03-22bugfix: make smartlist_join_strings2 actually use the separator/terminatorRoger Dingledine
svn:r3805
2005-03-17Commit fixes for several pending tor core tasks: document all DOCDOCed ↵Nick Mathewson
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
2005-03-16Fix a fun windows bug: apparently windows stat wants paths not to end with ↵Nick Mathewson
slash. svn:r3766
2005-03-14Fix some more obscure compiler warningsNick Mathewson
svn:r3758
2005-03-14Renormalize whitespaceNick Mathewson
svn:r3757
2005-03-03Finish implementing GETINFO; make it easy to query address maps.Nick Mathewson
svn:r3732
2005-02-28Try a little harder to avoid openssl SSL* double-free reports.Nick Mathewson
svn:r3710
2005-02-28Fix strmap_free to release memory actually held by the strmap.Nick Mathewson
svn:r3708
2005-02-28give a better warning when tor points at an https server.Nick Mathewson
svn:r3706
2005-02-25Be specific about which "illegal character" we just saw in the cert.Nick Mathewson
svn:r3699
2005-02-25Implement more control spec functionalityNick Mathewson
- 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
2005-02-22Forward-port the trick to bump up ConnLimit as far as it canRoger Dingledine
go, but not past MAXCONNECTIONS. Also throw away the FAKE_POLL caveats since 0.1.0 doesn't need it any more. svn:r3657
2005-02-22Change from inet_ntoa to a threadproof tor_inet_ntoa.Nick Mathewson
svn:r3656
2005-02-22Note a non-bug in read_file_to_str as used. If we start to rely on it ↵Nick Mathewson
behaving differently, we need to change how it behaves. [Noticed by Chris Palmer] svn:r3655
2005-02-22But on windows, localtime and gmtime _are_ threadsafe.Nick Mathewson
svn:r3654
2005-02-22Patch to localtime/gmtime handling: use the _r variants where available. ↵Nick Mathewson
Use mutexes to fake _r where necessary. Make mutexes no-ops where no threading is enabled. svn:r3653
2005-02-22Remove assumptions that maximum path length is anything like 1024. From ↵Nick Mathewson
comments by Chris Palmer svn:r3652
2005-02-22remove spurious semicolonsNick Mathewson
svn:r3650
2005-02-22Snarf some logic from python, adapted to our own needs, to handle ↵Nick Mathewson
gethostbyname_r correctly across platforms. svn:r3649
2005-02-22Initial IRIX compatibility fixes: check for inttypes.h; check for platform ↵Nick Mathewson
cell_t. svn:r3648
2005-02-22Fix windows build: do not spuriously include openssl where not needed; ↵Nick Mathewson
handle lack of gethostbyname_r properly. svn:r3644
2005-02-20bugfix: actually use the argument to strmap_free()Roger Dingledine
svn:r3640
2005-02-19avoid case (not yet triggered) where smartlists could grow outRoger Dingledine
of control svn:r3636
2005-02-13Tell openssl how to use locks and how to find thread ids -- this may prevent ↵Nick Mathewson
race conditions surrounding the error queue. svn:r3622
2005-02-12Apply windows patch from Dmitri BelyNick Mathewson
svn:r3617
2005-02-11Free tls resources on exit tooNick Mathewson
svn:r3615
2005-02-03Handle return value from getaddrinfo properlyNick Mathewson
svn:r3526
2005-02-03Use getaddrinfo and gethostbyname_r where available. Note that these are ↵Nick Mathewson
not necessarily threadsafe: this needs more thinking. Perhaps we should back down on this multithreading idea. svn:r3522
2005-02-03Forward-port SGI Compatibility patches from Jan SchaumannNick Mathewson
svn:r3517
2005-02-03point out a potential thread/process leak problem when we're out of memoryRoger Dingledine
svn:r3512
2005-02-03Add --with-dmalloc configure optionPeter Palfrader
svn:r3508
2005-02-03http://www.erlenstar.demon.co.uk/unix/faq_2.html says weRoger Dingledine
should call _exit, not exit, from child processes. svn:r3506
2005-01-31clarify what smartlist_remove promises, since we rely on it.Roger Dingledine
svn:r3473
2005-01-27Add rudimentary pthread support that needs more testing.Nick Mathewson
svn:r3439
2005-01-22fwd-port win32 isprint fixNick Mathewson
svn:r3410
2005-01-22forward-port: fix win32 compileRoger Dingledine
svn:r3406
2005-01-20give a header file for ntohsRoger Dingledine
svn:r3388
2005-01-20Compilation fixes for win32 version detection.Nick Mathewson
svn:r3385
2005-01-20Make zlib detection happy on little-endian platforms; fix unit tests.Nick Mathewson
svn:r3384
2005-01-19Detect windows platform correctlyNick Mathewson
svn:r3377
2005-01-19Make detect_compression_method work on platforms with more evil chars.Nick Mathewson
svn:r3376
2005-01-19Workaround for webservers that lie about Content-Encoding: Tor now tries to ↵Nick Mathewson
autodetect compressed directories and compression itself. (resolves bug 65) svn:r3374