]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[1546] updated the comment to be more accurate (the creator actually
authorJINMEI Tatuya <jinmei@isc.org>
Wed, 11 Jan 2012 07:42:44 +0000 (23:42 -0800)
committerJINMEI Tatuya <jinmei@isc.org>
Wed, 11 Jan 2012 07:42:44 +0000 (23:42 -0800)
talked to the boss (via msgq), not the socket creator directly).  also
consolidated the mostly identical comments for auth and resolver for DRY.

src/bin/auth/main.cc
src/bin/resolver/main.cc

index dd9ca4501514f73e74c722ec9c409e60187a8b3f..6fdd255b36635536786b285fad9b2256ec66c78c 100644 (file)
@@ -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);
index b486d6d6023d30c1dcd9962f2ddf4f9272782856..af187316c875411cc39d87106283fcb1dd52cf1a 100644 (file)
@@ -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);