aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2005-02-23Forward-port fix to make dual-purpose NT executable work.Nick Mathewson
svn:r3665
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-22After we successfully connect, try handling pending stuff immediately, ↵Nick Mathewson
rather than waiting for the next call to connection_handle_write. Roger: is this right? svn:r3647
2005-02-22Print uname on start of unittests.Nick Mathewson
svn:r3646
2005-02-22Fix windows build: juggle }s and #endifs around in main.cNick Mathewson
svn:r3645
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-22make the addressmap internals less noisyRoger Dingledine
svn:r3643
2005-02-22Add a new AddressMap directive to rewrite incoming socks addresses.Roger Dingledine
Add a new TrackHostExits directive to trigger addressmaps for certain incoming socks addresses, for sites that break when your exit keeps changing. Redo the client-side dns cache so it's just an addressmap too. svn:r3641
2005-02-20bugfix: actually use the argument to strmap_free()Roger Dingledine
svn:r3640
2005-02-20forward-port the onion queue thingRoger Dingledine
svn:r3639
2005-02-19avoid case (not yet triggered) where smartlists could grow outRoger Dingledine
of control svn:r3636
2005-02-17forward-port some fixesRoger Dingledine
svn:r3631
2005-02-16remove unused codeRoger Dingledine
svn:r3629
2005-02-14Fix another crash bug found by Jaroslaw--it is possible for dns_resolve to ↵Nick Mathewson
mark a connection to be freed, if the circuit it was attached to fails for some reason. svn:r3623
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-13Add a missing prototype to or.hNick Mathewson
svn:r3621
2005-02-13remove redundant unpack in critical pathNick Mathewson
svn:r3620
2005-02-12Apply windows patch from Dmitri BelyNick Mathewson
svn:r3617
2005-02-11Do not try to double-aquire lock when rotating keys. May fix deadlock bug ↵Nick Mathewson
found by weasel. svn:r3616
2005-02-11Free tls resources on exit tooNick Mathewson
svn:r3615
2005-02-11Free even more things on shutdown. Temporarily move tor_free_all out from ↵Nick Mathewson
#ifdef so it gets tested more. svn:r3614
2005-02-10Add more functions to free things to help dmalloc allong.Nick Mathewson
svn:r3613
2005-02-10if we're hibernating and we get a sigint, exit immediately.Roger Dingledine
closes bug 91. svn:r3611
2005-02-10stop picking unverified dir mirrors, ever.Roger Dingledine
it only leads to misery. svn:r3610
2005-02-10when a client asks us for a dir mirror and we don't have one,Roger Dingledine
launch an attempt to get a fresh one. svn:r3609
2005-02-09remove redundant linesRoger Dingledine
svn:r3607
2005-02-09Patch from adam langley: always remove sockets from libevent before closing ↵Nick Mathewson
them. Should fix epoll-related bugs. svn:r3606
2005-02-09don't list version in the win32 service display name or service name,Roger Dingledine
since they'll keep changing and people will get messed up about which one is installed. svn:r3592
2005-02-05Avoid double-free on tor-resolve failureNick Mathewson
svn:r3567
2005-02-05Re-normalize whitespace; make "make check-spaces" happyNick Mathewson
svn:r3566
2005-02-05forward-port NT service patchNick Mathewson
svn:r3565
2005-02-05Fix tor-resolve implementation to prevent crashes and send resolves when we ↵Nick Mathewson
should. svn:r3561
2005-02-04forward-port the logic skew and double-free thingRoger Dingledine
svn:r3549
2005-02-03Handle return value from getaddrinfo properlyNick Mathewson
svn:r3526
2005-02-03fix the latest bug: don't explode when some router declares aRoger Dingledine
bandwidthburst of 500 gigabytes. this bug seems to have taken down most of the network. oops. svn:r3523
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-03another minor fixRoger Dingledine
svn:r3511
2005-02-03Add --with-dmalloc configure optionPeter Palfrader
svn:r3508
2005-02-03Write a function header for Roger so he can fill it with lifePeter Palfrader
svn:r3507
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