Commit History

Author SHA1 Message Date
  Nick Mathewson 11b76b9ca5 Allow tor_gzip_uncompress to extract as much as possible from truncated compressed data. Also, fix a bug where truncated compressed data could break tor_gzip_uncompress. [This last part is a backport candidate.] 20 years ago
  Nick Mathewson 972b7512c7 authorities do not replace server descriptors where nothing semantically relevant has changed since the last upload. 20 years ago
  Nick Mathewson 1ebbaf5c3a improve INFO-level logging for directory downloads. This is still too chatty, but it will help us analyze things. 20 years ago
  Roger Dingledine adf04f121e size_t int printf mucking 20 years ago
  Nick Mathewson 1223310b69 Downgrade noisy log messages in preparation for an alpha release. 20 years ago
  Nick Mathewson a608905070 Give a less frequent and more helpful warning on failed serverdesc downloads 20 years ago
  Nick Mathewson 42e17182da When we get an EOF or a timeout on a directory connection, note how many bytes of serverdesc we are dropping. This will help us determine whether it is smart to parse incomplete serverdesc responses. 20 years ago
  Nick Mathewson fc3c0197f9 Resolve several DOCDOCs. Make non-mirrors only launch routerdesc downloads when they have more than 16 router descriptors to download, or when 10 minutes have passed since the last download. 20 years ago
  Roger Dingledine 13e709a0ff resolve nick's comment 20 years ago
  Nick Mathewson edd15cb781 Note that there is incorrect behavior in directory.c code. Arma, please check this too. 20 years ago
  Nick Mathewson 92451f74a8 Reformat inconsistent function declarations. 20 years ago
  Roger Dingledine ea18827cee do the other half of dirport reachability testing. 20 years ago
  Roger Dingledine f8d430653e better cleanups as i figure out what's going on 20 years ago
  Roger Dingledine d4d8adaa6d move some code around when we're succeeding or failing at fetching 20 years ago
  Nick Mathewson 126a1e3e32 Fix crash-on-wakeup bug in networkstatus download. 20 years ago
  Nick Mathewson b726507d36 Log even less verbosely. Also, do not download old (frequently-updating) servers more than once every 2 hours. 20 years ago
  Nick Mathewson f995edd516 Fix at least one overzealous download bug. (tor_malloc_zero new local_routerstatus_t objs); add a pile of logs back in; probe every 10sec; never autolaunch on failure. Let us see if this works better. 20 years ago
  Nick Mathewson cdc912714e I love the smell of C in the morning. Make router-download rules smarter (download more so long as we dont duplicate existing requests; relaunch at staggered intervals); relaunch one a minute or on failure; reset 60 minutes; always open 3 requests if we can; add authority opinion to networkstatus; make naming rule correct. There is a remaining bug where we retry servers too quickly; We need to look at that harder. 20 years ago
  Nick Mathewson 6693031947 Use a separate type for "local view of router status". Also, even though I told arma there was no need, replace an ugly O ( n lg n ) algorithm with a nice O ( n ) algorithm when stepping through servers. Some ugliness is just too bad to stand. 20 years ago
  Roger Dingledine 959598fae6 content-type bugfixes: 20 years ago
  Nick Mathewson 283032960d Make give-up-on-failure actually work: it seems the servers gave me a real test case. 20 years ago
  Nick Mathewson d118d5069a Prevent a "try forever to download an unobtainable descriptor" bug. Still remaining: the "give up forever" bug. 20 years ago
  Nick Mathewson 1fbe499bfe Remove a bunch of #if0d code that I no longer need to look at. 20 years ago
  Nick Mathewson 6d15a73548 Resolve/expand some XXXXs and improve a log message or two 20 years ago
  Nick Mathewson d45badd9f4 Add a missing return 20 years ago
  Nick Mathewson 9c2ca40df3 Unify our "figure out which fingerprints we were downloading" code. 20 years ago
  Nick Mathewson 05bab28c7d Add some (notice, for now) log messages that imply confusing things are happening. 20 years ago
  Nick Mathewson ed21abfe87 And some documentation before bed. 20 years ago
  Nick Mathewson b16048917c Stop downloading directories and download routers instead. This still needs some work, but at last clients are finally on the new architecture. Next comes the tuning and bugfixing. 20 years ago
  Nick Mathewson e3adcbdb95 Big commit: clients start downloading and using network-statuses. 20 years ago