Changes with Apache 2.0.14-dev
+ *) Report unbounded containers in the config file. Previously, a typo
+ in the </container> directive could result in the rest of the config
+ file being silently ignored, with undesired defaults used.
+ [Jeff Trawick]
+
*) Make the old_write filter use the ap_f* functions for the buffering.
[Ryan Bloom]
directive + 1, "> but saw ",
cmd_name, ">", NULL);
}
- break;
+ return NULL; /* found end of container */
}
else {
- ap_soak_end_container(cmd, cmd_name);
+ const char *msg;
+
+ if ((msg = ap_soak_end_container(cmd, cmd_name)) != NULL) {
+ return msg;
+ }
}
}
}
- return NULL;
+ return apr_pstrcat(cmd->pool, "Expected </",
+ directive + 1, "> before end of configuration",
+ NULL);
}
static const char *execute_now(char *cmd_line, const char *args, cmd_parms *parms,