Explorar el Código

publish a new descriptor after we hup. this is important if our
config has changed such that we'll want to start advertising our
dirport now, etc.


svn:r6819

Roger Dingledine hace 19 años
padre
commit
c9b8458f59
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      src/or/main.c

+ 1 - 0
src/or/main.c

@@ -1070,6 +1070,7 @@ do_hup(void)
 
   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();