Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
David Goulet
Tor
Commits
e1f2693d
Commit
e1f2693d
authored
Aug 13, 2003
by
Roger Dingledine
Browse files
bugfix: if a dnsworker dies, remember that.
svn:r396
parent
e4957f8c
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/or/dns.c
View file @
e1f2693d
...
...
@@ -291,8 +291,11 @@ int connection_dns_process_inbuf(connection_t *conn) {
if
(
conn
->
inbuf_reached_eof
)
{
log
(
LOG_ERR
,
"connection_dnsworker_process_inbuf(): Read eof. Worker dying."
);
if
(
conn
->
state
==
DNSWORKER_STATE_BUSY
)
if
(
conn
->
state
==
DNSWORKER_STATE_BUSY
)
{
dns_cancel_pending_resolve
(
conn
->
address
,
NULL
);
num_workers_busy
--
;
}
num_workers
--
;
return
-
1
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment