diff options
author | Nick Mathewson <nickm@torproject.org> | 2011-06-22 12:27:27 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2011-09-07 15:01:52 -0400 |
commit | 1f4b6944c06fce5befc3b8a21d252ba946632f63 (patch) | |
tree | 102518e3d0007bd12bae27ddfe626c80ebd754d5 /src/or/directory.c | |
parent | 41eef6680e814f453cc8eedff415e941429aa627 (diff) | |
download | tor-1f4b6944c06fce5befc3b8a21d252ba946632f63.tar.gz tor-1f4b6944c06fce5befc3b8a21d252ba946632f63.zip |
Upload descriptors more often when recent desc is unlisted
Right now we only force a new descriptor upload every 18 hours.
This can make servers become unlisted if they upload a descriptor at
time T which the authorities reject as being "too similar" to one
they uploaded before. Nothing will actually make the server upload a
new descriptor later on, until another 18 hours have passed.
This patch changes the upload behavior so that the 18 hour interval
applies only when we're listed in a live consensus with a descriptor
published within the last 18 hours. Otherwise--if we're not listed
in the live consensus, or if we're listed with a publication time
over 18 hours in the past--we upload a new descriptor every 90
minutes.
This is an attempted bugfix for #3327. If we merge it, it should
obsolete #535.
Diffstat (limited to 'src/or/directory.c')
0 files changed, 0 insertions, 0 deletions