2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-30 13:37:55 +00:00

[2211] added note about exception cases in remote config handler.

This commit is contained in:
JINMEI Tatuya
2012-10-19 23:34:12 -07:00
parent 5ac7c2d114
commit a61ab28f80

View File

@@ -94,6 +94,13 @@ datasrcConfigHandler(AuthSrv* server, bool* first_time,
const isc::config::ConfigData&)
{
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")) {
isc::datasrc::DataSrcClientListsPtr lists;