Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
tor
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
jarl
tor
Commits
1f726535
Commit
1f726535
authored
9 years ago
by
Roger Dingledine
Browse files
Options
Downloads
Patches
Plain Diff
fix a bug where relays would use the aggressive client bootstrapping retry number
parent
d5a96286
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/or/networkstatus.c
+1
-2
1 addition, 2 deletions
src/or/networkstatus.c
with
1 addition
and
2 deletions
src/or/networkstatus.c
+
1
−
2
View file @
1f726535
...
...
@@ -871,8 +871,7 @@ update_consensus_networkstatus_downloads(time_t now)
update_consensus_bootstrap_multiple_downloads
(
now
,
options
);
}
else
{
/* Check if we failed downloading a consensus too recently */
int
max_dl_tries
=
consensus_max_download_tries
(
options
,
we_are_bootstrapping
);
int
max_dl_tries
=
consensus_max_download_tries
(
options
,
0
);
/* Let's make sure we remembered to update consensus_dl_status */
tor_assert
(
consensus_dl_status
[
i
].
schedule
==
DL_SCHED_CONSENSUS
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment