Commit History

Author SHA1 Message Date
  Roger Dingledine 55c3f15ed1 Forward-port the trick to bump up ConnLimit as far as it can 19 years ago
  Nick Mathewson d37f4dd8a9 But on windows, localtime and gmtime _are_ threadsafe. 19 years ago
  Nick Mathewson 70c3580f81 Patch to localtime/gmtime handling: use the _r variants where available. Use mutexes to fake _r where necessary. Make mutexes no-ops where no threading is enabled. 19 years ago
  Nick Mathewson bb53a0bddd remove spurious semicolons 19 years ago
  Nick Mathewson d060f845f2 Snarf some logic from python, adapted to our own needs, to handle gethostbyname_r correctly across platforms. 19 years ago
  Nick Mathewson 6bd81c9ee2 Fix windows build: do not spuriously include openssl where not needed; handle lack of gethostbyname_r properly. 19 years ago
  Nick Mathewson aac97a3c6a Tell openssl how to use locks and how to find thread ids -- this may prevent race conditions surrounding the error queue. 19 years ago
  Nick Mathewson 915202048e Handle return value from getaddrinfo properly 19 years ago
  Nick Mathewson a035032f09 Use getaddrinfo and gethostbyname_r where available. Note that these are not necessarily threadsafe: this needs more thinking. Perhaps we should back down on this multithreading idea. 19 years ago
  Nick Mathewson e4b21c97f7 Forward-port SGI Compatibility patches from Jan Schaumann 19 years ago
  Roger Dingledine f3b74a2adb http://www.erlenstar.demon.co.uk/unix/faq_2.html says we 19 years ago
  Nick Mathewson 083b67cda5 Add rudimentary pthread support that needs more testing. 19 years ago
  Nick Mathewson 29b6637a62 Compilation fixes for win32 version detection. 19 years ago
  Nick Mathewson f8c14bbf1f Detect windows platform correctly 19 years ago
  Nick Mathewson 324b192f68 Make Tor use Niels Provos's libevent instead of it's current 20 years ago
  Nick Mathewson b50263f740 More work on task #43: fix race conditions on multithreaded (win32) servers. 20 years ago
  Roger Dingledine cf17d0d29c move network_init from or/main to common/compat 20 years ago
  Nick Mathewson c79c4200f4 Fix a bug in last patch; and keep my name out of the assert() call too. 20 years ago
  Nick Mathewson 32978afa54 Workaround for brain-damaged __FILE__ handling on MSVC: keep Nick's name out 20 years ago
  Roger Dingledine 2297c57ba5 note an improvement on our uname we might want to make one day 20 years ago
  Nick Mathewson a980446d0c Be more proactive about noticing underflows: size_t values greater than 0x800...00 are likely to be trouble. 20 years ago
  Nick Mathewson 41ba4575b3 Fix windows build. 20 years ago
  Nick Mathewson b457cfb5eb Spell-check strings and comments 20 years ago
  Nick Mathewson 6e88abf418 If we are using select, make sure we stay within FD_SETSIZE. 20 years ago
  Nick Mathewson 7fbd297532 Suggestion from weasel: Make tor --version --version dump the cvs Id of every file. 20 years ago
  Roger Dingledine 531c060b36 fix integer underflow in tor_vsnprintf() 20 years ago
  Nick Mathewson 6f5dbefa7e Normalize space: add one between every control keyword and control clause. 20 years ago
  Nick Mathewson 0702179d28 Very oops. make windows nonblocking sockets nonblocking 20 years ago
  Nick Mathewson f77ff938b7 remember; tor_socket_errno has side effects! 20 years ago
  Roger Dingledine 7c9a707900 remove emacs droppings, since nick says he doesn't need them anymore 20 years ago