BIND 10 bind10-20110322-release, updated. e55d194074e3bf280c0391be607368ef701e6f2a [bind10-20110322-release]Record the time when we are using send() as well as sendTo()

BIND 10 source code commits bind10-changes at lists.isc.org
Thu Mar 17 23:34:24 UTC 2011


The branch, bind10-20110322-release has been updated
       via  e55d194074e3bf280c0391be607368ef701e6f2a (commit)
      from  19107a9e45199d5b2ab9eb09ba7248b8d4c3952f (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 e55d194074e3bf280c0391be607368ef701e6f2a
Author: Shane Kerr <shane at isc.org>
Date:   Thu Mar 17 21:36:06 2011 +0100

    [bind10-20110322-release]Record the time when we are using send() as well as sendTo()

-----------------------------------------------------------------------

Summary of changes:
 src/lib/resolve/recursive_query.cc |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

-----------------------------------------------------------------------
diff --git a/src/lib/resolve/recursive_query.cc b/src/lib/resolve/recursive_query.cc
index df5e2d9..0ee5813 100644
--- a/src/lib/resolve/recursive_query.cc
+++ b/src/lib/resolve/recursive_query.cc
@@ -281,6 +281,7 @@ private:
         if (test_server_.second != 0) {
             dlog("Sending upstream query (" + question_.toText() +
                  ") to test server at " + test_server_.first);
+            gettimeofday(&current_ns_qsent_time, NULL);
             ++outstanding_events_;
             IOFetch query(protocol, io_, question_,
                 test_server_.first,
@@ -293,6 +294,7 @@ private:
             dlog("Sending upstream query (" + question_.toText() +
                 ") to " + upstream_->at(serverIndex).first);
             ++outstanding_events_;
+            gettimeofday(&current_ns_qsent_time, NULL);
             IOFetch query(protocol, io_, question_,
                 upstream_->at(serverIndex).first,
                 upstream_->at(serverIndex).second, buffer_, this,




More information about the bind10-changes mailing list