BIND 10 trac1546, updated. 354bb735d31ec83aba2eb0afe3a0e05aa8f254d5 [1546] swapped comments about deferring asynchronous listening to cc messages. the detailed version of comments were intended to be for auth, but placed in the wrong place (resolver/main).

BIND 10 source code commits bind10-changes at lists.isc.org
Tue Jan 17 17:48:37 UTC 2012


The branch, trac1546 has been updated
       via  354bb735d31ec83aba2eb0afe3a0e05aa8f254d5 (commit)
      from  109c7a70bc0fb293e717e1bbe653ce9d01d1a737 (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 354bb735d31ec83aba2eb0afe3a0e05aa8f254d5
Author: JINMEI Tatuya <jinmei at isc.org>
Date:   Tue Jan 17 09:47:05 2012 -0800

    [1546] swapped comments about deferring asynchronous listening to cc messages.
    the detailed version of comments were intended to be for auth, but placed
    in the wrong place (resolver/main).

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

Summary of changes:
 src/bin/auth/main.cc     |    7 ++++++-
 src/bin/resolver/main.cc |    6 +-----
 2 files changed, 7 insertions(+), 6 deletions(-)

-----------------------------------------------------------------------
diff --git a/src/bin/auth/main.cc b/src/bin/auth/main.cc
index 6fdd255..f645882 100644
--- a/src/bin/auth/main.cc
+++ b/src/bin/auth/main.cc
@@ -163,7 +163,12 @@ main(int argc, char* argv[]) {
         isc::server_common::initSocketRequestor(*cc_session);
 
         // We delay starting listening to new commands/config just before we
-        // go into the main loop.   See auth/main.cc for the rationale.
+        // go into the main loop to avoid confusion due to mixture of
+        // synchronous and asynchronous operations (this would happen in
+        // initial communication with the boss that takes place in
+        // updateConfig() for listen_on and in initializing TSIG keys below).
+        // Until then all operations on the CC session will take place
+        // synchronously.
         config_session = new ModuleCCSession(specfile, *cc_session,
                                              my_config_handler,
                                              my_command_handler, false);
diff --git a/src/bin/resolver/main.cc b/src/bin/resolver/main.cc
index af18731..2026e4e 100644
--- a/src/bin/resolver/main.cc
+++ b/src/bin/resolver/main.cc
@@ -211,11 +211,7 @@ main(int argc, char* argv[]) {
         isc::server_common::initSocketRequestor(*cc_session);
 
         // We delay starting listening to new commands/config just before we
-        // go into the main loop to avoid confusion due to mixture of
-        // synchronous and asynchronous operations (this would happen in
-        // initial communication with the boss that takes place in
-        // updateConfig() for listen_on).  Until then all operations on the CC
-        // session will take place synchronously.
+        // go into the main loop.   See auth/main.cc for the rationale.
         config_session = new ModuleCCSession(specfile, *cc_session,
                                              my_config_handler,
                                              my_command_handler, false);




More information about the bind10-changes mailing list