BIND 10 trac494, updated. b7c5f0703226ea1f68af4802e4b410cc42e98144 [trac494] removed some dead code
BIND 10 source code commits
bind10-changes at lists.isc.org
Mon Jan 31 11:27:29 UTC 2011
The branch, trac494 has been updated
via b7c5f0703226ea1f68af4802e4b410cc42e98144 (commit)
from cf6de64ab83a1db3a71aa065c1d247462f236ea8 (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 b7c5f0703226ea1f68af4802e4b410cc42e98144
Author: Jelte Jansen <jelte at isc.org>
Date: Mon Jan 31 12:26:55 2011 +0100
[trac494] removed some dead code
-----------------------------------------------------------------------
Summary of changes:
src/bin/resolver/resolver.cc | 31 -------------------------------
1 files changed, 0 insertions(+), 31 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/bin/resolver/resolver.cc b/src/bin/resolver/resolver.cc
index cf66c54..dc3a773 100644
--- a/src/bin/resolver/resolver.cc
+++ b/src/bin/resolver/resolver.cc
@@ -344,31 +344,11 @@ Resolver::getConfigSession() const {
return (impl_->config_session_);
}
-/* tmp for in-dev testing */
-class MyCallback : public resolve::ResolverInterface::Callback {
-public:
- virtual void success(MessagePtr response) {
- std::cout << "[XX] CALLBACK FOR LOOKUP!" << std::endl;
- std::cout << "[XX] GOT: " << *response << std::endl;
- std::cout << "[XX] END" << std::endl;
- };
-
- virtual void failure() {
- std::cout << "[XX] internal lookup failed" << std::endl;
- }
-
- ~MyCallback() {
- std::cout << "[XX] MyCallback deleted!" << std::endl;
- }
-};
-
void
Resolver::resolve(const isc::dns::QuestionPtr& question,
const isc::resolve::ResolverInterface::CallbackPtr& callback)
{
- std::cout << "[XX] asked to resolve: " << *question << std::endl;
impl_->resolve(question, callback);
- std::cout << "[XX] done?" << std::endl;
}
@@ -379,17 +359,6 @@ Resolver::processMessage(const IOMessage& io_message,
OutputBufferPtr buffer,
DNSServer* server)
{
-/*
- std::cout << "[XX] remove this :p" << std::endl;
- QuestionPtr q(new Question(Name("www.tjeb.nl"), RRClass::IN(), RRType::A()));
- boost::shared_ptr<MyCallback> callback(new MyCallback());
-
- std::cout << "[XX] CREATED CALLBACK AT " << callback << std::endl;
-
- resolve(q, callback);
- //resolve(q, callback);
- std::cout << "[XX] up to here" << std::endl;
-*/
dlog("Got a DNS message");
InputBuffer request_buffer(io_message.getData(), io_message.getDataSize());
// First, check the header part. If we fail even for the base header,
More information about the bind10-changes
mailing list