* server/main.c (main): Bail out *before* signalling the server
if the config is bad. (as per the claim in the docs!)
Submitted by: jorton
Reviewed by: jorton, jim, sf
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@
1331847 13f79535-47bb-0310-9956-
ffa450edef68
Changes with Apache 2.4.3
+ *) core: Prevent "httpd -k restart" from killing server in presence of
+ config error. [Joe Orton]
+
*) mod_proxy_fcgi: If there is an error reading the headers from the
backend, send an error to the client. PR 52879. [Stefan Fritsch]
2.4 patch: Trunk patch works
+1: rbowen, jim, sf
- * core: Prevent "httpd -k restart" from killing server in presence of config error.
- trunk patch: http://svn.apache.org/viewvc?rev=1328345&view=rev
- 2.4 patch: trunk patch works
- +1: jorton, jim, sf
-
* mod_sed, mod_log_debug: Symbol namespace cleanups.
trunk patches: http://svn.apache.org/viewvc?rev=1326980&view=rev
http://svn.apache.org/viewvc?rev=1326984&view=rev
}
}
+ /* If our config failed, deal with that here. */
+ if (rv != OK) {
+ destroy_and_exit_process(process, 1);
+ }
+
signal_server = APR_RETRIEVE_OPTIONAL_FN(ap_signal_server);
if (signal_server) {
int exit_status;
}
}
- /* If our config failed, deal with that here. */
- if (rv != OK) {
- destroy_and_exit_process(process, 1);
- }
-
apr_pool_clear(plog);
if ( ap_run_open_logs(pconf, plog, ptemp, ap_server_conf) != OK) {