BIND 10 trac1722, updated. 5ebf78690a7ce8e144e307ab0529fa28f1604356 [1722] remove change from wrong commit
BIND 10 source code commits
bind10-changes at lists.isc.org
Wed Feb 29 10:14:08 UTC 2012
The branch, trac1722 has been updated
via 5ebf78690a7ce8e144e307ab0529fa28f1604356 (commit)
from 5c78e914c502d1462fa4e99aa3213a48e3e8bb8d (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 5ebf78690a7ce8e144e307ab0529fa28f1604356
Author: Jelte Jansen <jelte at isc.org>
Date: Wed Feb 29 11:12:57 2012 +0100
[1722] remove change from wrong commit
-----------------------------------------------------------------------
Summary of changes:
src/bin/auth/auth_srv.cc | 22 ++--------------------
1 files changed, 2 insertions(+), 20 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/bin/auth/auth_srv.cc b/src/bin/auth/auth_srv.cc
index 10a8233..1487e13 100644
--- a/src/bin/auth/auth_srv.cc
+++ b/src/bin/auth/auth_srv.cc
@@ -511,16 +511,6 @@ AuthSrv::processMessage(const IOMessage& io_message, MessagePtr message,
impl_->resumeServer(server, message, send_answer);
}
-namespace {
-DataSourceClient::FindResult
-findZone(const DataSourceClient& client, const Name& qname, RRType qtype) {
- if (qtype != RRType::DS() || qname.getLabelCount() == 1) {
- return (client.findZone(qname));
- }
- return (client.findZone(qname.split(1)));
-}
-}
-
bool
AuthSrvImpl::processNormalQuery(const IOMessage& io_message, MessagePtr message,
OutputBufferPtr buffer,
@@ -552,16 +542,8 @@ AuthSrvImpl::processNormalQuery(const IOMessage& io_message, MessagePtr message,
if (memory_client_ && memory_client_class_ == question->getClass()) {
const RRType& qtype = question->getType();
const Name& qname = question->getName();
- const DataSourceClient::FindResult result = findZone(*memory_client_,
- qname, qtype);
- if (result.code != result::SUCCESS &&
- result.code != result::PARTIALMATCH) {
- datasrc::Query query(*message, cache_, dnssec_ok);
- data_sources_.doQuery(query);
- } else {
- auth::Query(*memory_client_, qname, qtype, *message,
- dnssec_ok).process();
- }
+ auth::Query(*memory_client_, qname, qtype, *message,
+ dnssec_ok).process();
} else {
datasrc::Query query(*message, cache_, dnssec_ok);
data_sources_.doQuery(query);
More information about the bind10-changes
mailing list