Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
BIND
Commits
d88ba937
Commit
d88ba937
authored
Feb 03, 2016
by
Mark Andrews
Browse files
4313. [bug] Handle ns_client_replace failures in test mode.
[RT #41190]
parent
d83a9a98
Changes
2
Hide whitespace changes
Inline
Side-by-side
CHANGES
View file @
d88ba937
4313. [bug] Handle ns_client_replace failures in test mode.
[RT #41190]
4312. [bug] dig's unknown dns and edns flags (MBZ value) logging
was not consistent. [RT #41600]
...
...
bin/named/query.c
View file @
d88ba937
...
...
@@ -8902,8 +8902,16 @@ ns_query_start(ns_client_t *client) {
/*
* Test only.
*/
if
(
ns_g_clienttest
&&
!
TCP
(
client
))
RUNTIME_CHECK
(
ns_client_replace
(
client
)
==
ISC_R_SUCCESS
);
if
(
ns_g_clienttest
&&
!
TCP
(
client
))
{
result
=
ns_client_replace
(
client
);
if
(
result
==
ISC_R_SHUTTINGDOWN
)
{
ns_client_next
(
client
,
result
);
return
;
}
else
if
(
result
!=
ISC_R_SUCCESS
)
{
query_error
(
client
,
result
,
__LINE__
);
return
;
}
}
/*
* Ensure that appropriate cleanups occur.
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment