Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Tor
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container Registry
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
The Tor Project
Core
Tor
Commits
1c1d71fe
Commit
1c1d71fe
authored
9 years ago
by
Nick Mathewson
Browse files
Options
Downloads
Plain Diff
Merge remote-tracking branch 'public/bug16013_025' into maint-0.2.6
parents
03e3cf6a
68eaaed7
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/bug16013
+5
-0
5 additions, 0 deletions
changes/bug16013
src/or/circuituse.c
+12
-0
12 additions, 0 deletions
src/or/circuituse.c
with
17 additions
and
0 deletions
changes/bug16013
0 → 100644
+
5
−
0
View file @
1c1d71fe
o Major bugfixes (hidden service, stability):
- Stop randomly crashing with an assertion failure when connecting to a
busy hidden service, or connecting to a hidden service while a NEWNYM
is in progress. Fixes bug 16013; bugfix on 0.1.0.1-rc.
This diff is collapsed.
Click to expand it.
src/or/circuituse.c
+
12
−
0
View file @
1c1d71fe
...
...
@@ -2406,6 +2406,18 @@ connection_ap_handshake_attach_circuit(entry_connection_t *conn)
return
1
;
}
/* At this point we need to re-check the state, since it's possible that
* our call to circuit_get_open_circ_or_launch() changed the connection's
* state from "CIRCUIT_WAIT" to "RENDDESC_WAIT" because we decided to
* re-fetch the descriptor.
*/
if
(
ENTRY_TO_CONN
(
conn
)
->
state
!=
AP_CONN_STATE_CIRCUIT_WAIT
)
{
log_info
(
LD_REND
,
"This connection is no longer ready to attach; its "
"state changed."
"(We probably have to re-fetch its descriptor.)"
);
return
0
;
}
if
(
rendcirc
&&
(
rendcirc
->
base_
.
purpose
==
CIRCUIT_PURPOSE_C_REND_READY_INTRO_ACKED
))
{
log_info
(
LD_REND
,
...
...
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