aboutsummaryrefslogtreecommitdiff
path: root/src/or/main.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2008-09-09 08:41:58 +0000
committerRoger Dingledine <arma@torproject.org>2008-09-09 08:41:58 +0000
commitef7af1d61e242913bcbeff1490d5300d1a9977c5 (patch)
tree169a077d08fdf640ea2d8c119841d220909070a5 /src/or/main.c
parentd37fae2f4edb03095f943577f78b518f75f6ca71 (diff)
downloadtor-ef7af1d61e242913bcbeff1490d5300d1a9977c5.tar.gz
tor-ef7af1d61e242913bcbeff1490d5300d1a9977c5.zip
karsten's patch for bug 767.
svn:r16808
Diffstat (limited to 'src/or/main.c')
-rw-r--r--src/or/main.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/or/main.c b/src/or/main.c
index 6f783e6e0b..1df592d93d 100644
--- a/src/or/main.c
+++ b/src/or/main.c
@@ -1126,8 +1126,10 @@ run_scheduled_events(time_t now)
circuit_close_all_marked();
/** 7. And upload service descriptors if necessary. */
- if (has_completed_circuit && !we_are_hibernating())
+ if (has_completed_circuit && !we_are_hibernating()) {
+ rend_consider_descriptor_republication();
rend_consider_services_upload(now);
+ }
/** 8. and blow away any connections that need to die. have to do this now,
* because if we marked a conn for close and left its socket -1, then