Commit 5279c2e1 authored by JINMEI Tatuya's avatar JINMEI Tatuya
Browse files

[1546] updated the comment about delaying listening to command/config

to clarify that it's also necessary for listen_on.
parent be7b7552
......@@ -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);
......
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