mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-08-31 22:15:23 +00:00
[2211] added note about exception cases in remote config handler.
This commit is contained in:
@@ -94,6 +94,13 @@ datasrcConfigHandler(AuthSrv* server, bool* first_time,
|
|||||||
const isc::config::ConfigData&)
|
const isc::config::ConfigData&)
|
||||||
{
|
{
|
||||||
assert(server != NULL);
|
assert(server != NULL);
|
||||||
|
|
||||||
|
// Note: remote config handler is requested to be exception free.
|
||||||
|
// While the code below is not 100% exception free, such an exception
|
||||||
|
// is really fatal and the server should actually stop. So we don't
|
||||||
|
// bother to catch them; the exception would be propagated to the
|
||||||
|
// top level of the server and terminate it.
|
||||||
|
|
||||||
if (config->contains("classes")) {
|
if (config->contains("classes")) {
|
||||||
isc::datasrc::DataSrcClientListsPtr lists;
|
isc::datasrc::DataSrcClientListsPtr lists;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user