This is especially needed for old-set-parser where e.g. auth_worker_max_count
converts to service/auth-worker/process_limit. This worked so far because
service/auth was created as a non-default settings filter, so it was simply
updated. However, with the next change service/auth becomes a "service
default" filter, which can't be directly updated. Instead a whole new
non-default service/auth filter must be created.
This change shouldn't break anything, although it will now allow
auto-creating named list filters in configuration file, e.g.
"namespace/inbox/separator=/" will directly work.
filter_parser = config_filter_parser_find(ctx, &filter);
if (filter_parser == NULL) {
- if (filter.filter_name_array &&
- !filter.default_settings) {
- /* don't create new arrays, except for
- default settings */
- break;
- }
/* Verify that this is a filter_name/ prefix. If not,
it should be a list/ */
if (l->info->defines[config_key->define_idx].type != SET_FILTER_NAME &&