tor/src
Nick Mathewson f78793879d Fix a race condition on nameserver reconfiguration.
This resolves bug 526, wherein we would crash if the following
events occurred in this order:
  A: We're an OR, and one of our nameservers goes down.
  B: We launch a probe to it to see if it's up again. (We do this hourly
     in steady-state.)
  C: Before the probe finishes, we reconfigure our nameservers,
     usually because we got a SIGHUP and the resolve.conf file changed.
  D: The probe reply comes back, or times out. (There is a five-second
     window for this, after B has happens).

IOW, if one of our nameservers is down and our nameserver
configuration has changed, there were 5 seconds per hour where HUPing
the server was unsafe.

Bugfix on 0.1.2.1-alpha.  Too obscure to backport.

svn:r18306
2009-01-28 18:26:20 +00:00
..
common Fix typo found by Justin Coffi on or-talk 2009-01-23 22:45:08 +00:00
config Update to the "December 19 2008" ip-to-country file 2009-01-06 18:03:01 +00:00
or Fix a race condition on nameserver reconfiguration. 2009-01-28 18:26:20 +00:00
tools Remove svn $Id$s from our source, and remove tor --version --version. 2009-01-04 00:35:51 +00:00
win32 get ready for more development 2009-01-21 02:51:30 +00:00
Makefile.am