Parcourir la source

[1546] updated the comment about delaying listening to command/config
to clarify that it's also necessary for listen_on.

JINMEI Tatuya il y a 13 ans
Parent
commit
5279c2e130
1 fichiers modifiés avec 3 ajouts et 2 suppressions
  1. 3 2
      src/bin/auth/main.cc

+ 3 - 2
src/bin/auth/main.cc

@@ -165,8 +165,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
-        // initializing TSIG keys below).  Until then all operations on the
-        // CC session will take place synchronously.
+        // 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.
         config_session = new ModuleCCSession(specfile, *cc_session,
                                              my_config_handler,
                                              my_command_handler, false);