소스 검색

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 19 년 전
부모
커밋
c9b8458f59
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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();