Commit e12cf299 authored by Roger Dingledine's avatar Roger Dingledine
Browse files

Don't stop fetching descriptors when FetchUselessDescriptors is

set, even if we stop asking for circuits. Bugfix on 0.1.2.x;
reported by tup and ioerror.


svn:r12430
parent 997c1e5e
......@@ -97,6 +97,9 @@ Changes in version 0.2.0.10-alpha - 2007-11-07
o Minor bugfixes:
- Refuse to start if both ORPort and UseBridges are set. Bugfix
on 0.2.0.x.
- Don't stop fetching descriptors when FetchUselessDescriptors is
set, even if we stop asking for circuits. Bugfix on 0.1.2.x;
reported by tup and ioerror.
- Better log message on vote from unknown authority.
- Don't log "Launching 0 request for 0 router".
......
......@@ -3753,10 +3753,9 @@ update_consensus_router_descriptor_downloads(time_t now)
int n_delayed=0, n_have=0, n_would_reject=0, n_wouldnt_use=0,
n_inprogress=0, n_in_oldrouters=0;
if (!dirserver) {
if (rep_hist_circbuilding_dormant(now))
goto done;
}
if (!dirserver && !options->FetchUselessDescriptors &&
rep_hist_circbuilding_dormant(now))
goto done;
if (!consensus)
goto done;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment