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
09325058
Commit
09325058
authored
20 years ago
by
Nick Mathewson
Browse files
Options
Downloads
Patches
Plain Diff
Only connection_dns_remove resolving exit connections
svn:r1934
parent
fbbb4d01
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/or/dns.c
+3
-0
3 additions, 0 deletions
src/or/dns.c
with
3 additions
and
0 deletions
src/or/dns.c
+
3
−
0
View file @
09325058
...
...
@@ -264,6 +264,9 @@ void connection_dns_remove(connection_t *conn)
struct
cached_resolve
search
;
struct
cached_resolve
*
resolve
;
tor_assert
(
conn
->
type
==
CONN_TYPE_EXIT
);
tor_assert
(
conn
->
state
==
EXIT_CONN_STATE_RESOLVING
);
strncpy
(
search
.
address
,
conn
->
address
,
MAX_ADDRESSLEN
);
search
.
address
[
MAX_ADDRESSLEN
-
1
]
=
0
;
...
...
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