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
27c3b438
Commit
27c3b438
authored
16 years ago
by
Nick Mathewson
Browse files
Options
Downloads
Patches
Plain Diff
Fix one case of bug 929.
svn:r18683
parent
c7f3416a
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
ChangeLog
+4
-0
4 additions, 0 deletions
ChangeLog
src/or/eventdns.c
+5
-2
5 additions, 2 deletions
src/or/eventdns.c
with
9 additions
and
2 deletions
ChangeLog
+
4
−
0
View file @
27c3b438
...
...
@@ -32,6 +32,10 @@ Changes in version 0.2.1.13-????? - 2009-02-??
circuit. Patch from lark.
- When we erroneously receive two EXTEND cells for the same circuit ID
on the same connection, drop the second. Patch from lark.
- Fix a crash that occurs on exit nodes when a nameserver request
timed out. Bugfix on 0.1.2.1-alpha; our CLEAR debugging code
had been suppressing the bug since 0.1.2.10-alpha. Partial fix
for bug 929.
o Minor features:
- On Linux, use the prctl call to re-enable core dumps when the user
...
...
This diff is collapsed.
Click to expand it.
src/or/eventdns.c
+
5
−
2
View file @
27c3b438
...
...
@@ -2016,14 +2016,17 @@ evdns_request_timeout_callback(int fd, short events, void *arg) {
nameserver_failed
(
req
->
ns
,
"request timed out."
);
}
del_timeout_event
(
req
);
CLEAR
(
&
req
->
timeout_event
);
if
(
req
->
tx_count
>=
global_max_retransmits
)
{
/* this request has failed */
reply_callback
(
req
,
0
,
DNS_ERR_TIMEOUT
,
NULL
);
request_finished
(
req
,
&
req_head
);
}
else
{
/* retransmit it */
/* Stop waiting for the timeout. No need to do this in
* request_finished; that one already deletes the timeout event.
* XXXX021 port this change to libevent. */
del_timeout_event
(
req
);
CLEAR
(
&
req
->
timeout_event
);
evdns_request_transmit
(
req
);
}
}
...
...
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