summaryrefslogtreecommitdiff
path: root/src/or/main.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2007-10-13 22:31:35 +0000
committerRoger Dingledine <arma@torproject.org>2007-10-13 22:31:35 +0000
commit39902e93f75bbdf850eb898c847583ed46747865 (patch)
tree3bfaeae98efe3b2319bd7af787ae919ac5c0a8e1 /src/or/main.c
parentd9ba4d3e8ba7c192c29c14952fdb16acd8b16622 (diff)
downloadtor-39902e93f75bbdf850eb898c847583ed46747865.tar.gz
tor-39902e93f75bbdf850eb898c847583ed46747865.zip
Stop publishing a new server descriptor just because we HUP or
when we find our DirPort to be reachable but won't actually publish it. Extra descriptors without any real changes are dropped by the authorities, and can screw up our "publish every 18 hours" schedule. svn:r11915
Diffstat (limited to 'src/or/main.c')
-rw-r--r--src/or/main.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/or/main.c b/src/or/main.c
index 4554113ee2..8c12c70992 100644
--- a/src/or/main.c
+++ b/src/or/main.c
@@ -1250,7 +1250,7 @@ dns_servers_relaunch_checks(void)
}
/** Called when we get a SIGHUP: reload configuration files and keys,
- * retry all connections, re-upload all descriptors, and so on. */
+ * retry all connections, and so on. */
static int
do_hup(void)
{
@@ -1299,8 +1299,6 @@ do_hup(void)
* force a retry there. */
if (server_mode(options)) {
-// const char *descriptor;
- mark_my_descriptor_dirty();
/* Restart cpuworker and dnsworker processes, so they get up-to-date
* configuration options. */
cpuworkers_rotate();