Commit 354bb735 authored by JINMEI Tatuya's avatar JINMEI Tatuya
Browse files

[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).
parent 109c7a70
......@@ -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);
......
......@@ -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);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment