Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
tor
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
The Tor Project
Core
debian
tor
Commits
723894f1
Commit
723894f1
authored
10 years ago
by
Nick Mathewson
Browse files
Options
Downloads
Plain Diff
Merge remote-tracking branch 'public/bug12170_024_v2'
parents
be905800
ad8977e3
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
changes/bug12170
+11
-0
11 additions, 0 deletions
changes/bug12170
src/or/nodelist.c
+4
-2
4 additions, 2 deletions
src/or/nodelist.c
with
15 additions
and
2 deletions
changes/bug12170
0 → 100644
+
11
−
0
View file @
723894f1
o Major bugfixes (performance):
- Do not recompute whether we have sufficient information to build
circuits every time we make a successful connection. Previously,
we would forget our cached value for this flag every time we
successfully opened a channel (or marked a router as running or not
running for any
other reason), regardless of whether we had
previously believed the router to be running. This forced us to
run a fairly expensive update operation with relatively
high frequency.
Fixes bug 12170; bugfix on 0.1.2.1-alpha.
This diff is collapsed.
Click to expand it.
src/or/nodelist.c
+
4
−
2
View file @
723894f1
...
...
@@ -1249,10 +1249,12 @@ router_set_status(const char *digest, int up)
if
(
!
up
&&
node_is_me
(
node
)
&&
!
net_is_disabled
())
log_warn
(
LD_NET
,
"We just marked ourself as down. Are your external "
"addresses reachable?"
);
if
(
bool_neq
(
node
->
is_running
,
up
))
router_dir_info_changed
();
node
->
is_running
=
up
;
}
router_dir_info_changed
();
}
/** True iff, the last time we checked whether we had enough directory info
...
...
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