Browse Source

[1546] updated the comment to be more accurate (the creator actually
talked to the boss (via msgq), not the socket creator directly). also
consolidated the mostly identical comments for auth and resolver for DRY.

JINMEI Tatuya 13 years ago
parent
commit
109c7a70bc
2 changed files with 4 additions and 8 deletions
  1. 1 5
      src/bin/auth/main.cc
  2. 3 3
      src/bin/resolver/main.cc

+ 1 - 5
src/bin/auth/main.cc

@@ -163,11 +163,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
-        // initializing TSIG keys below, and initial communication with the
-        // socket creator that takes place in updateConfig()).  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);

+ 3 - 3
src/bin/resolver/main.cc

@@ -213,9 +213,9 @@ main(int argc, char* argv[]) {
         // 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 socket creator that takes place in
-        // updateConfig()).  Until then all operations on the CC session will
-        // take place synchronously.
+        // 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.
         config_session = new ModuleCCSession(specfile, *cc_session,
                                              my_config_handler,
                                              my_command_handler, false);