From: JINMEI Tatuya Date: Wed, 11 Jan 2012 07:42:44 +0000 (-0800) Subject: [1546] updated the comment to be more accurate (the creator actually X-Git-Tag: trac2351_base~296^2^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=109c7a70bc0fb293e717e1bbe653ce9d01d1a737;p=thirdparty%2Fkea.git [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. --- diff --git a/src/bin/auth/main.cc b/src/bin/auth/main.cc index dd9ca45015..6fdd255b36 100644 --- a/src/bin/auth/main.cc +++ b/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); diff --git a/src/bin/resolver/main.cc b/src/bin/resolver/main.cc index b486d6d602..af187316c8 100644 --- a/src/bin/resolver/main.cc +++ b/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);