if the config is bad. (as per the claim in the docs!)
Backports: r1328345
Submitted by: jorton
Reviewed by: rjung, trawick, wrowe
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@
1375680 13f79535-47bb-0310-9956-
ffa450edef68
possible XSS for a site where untrusted users can upload files to
a location with MultiViews enabled. [Niels Heinen <heinenn google.com>]
+ *) core: Prevent "httpd -k restart" from killing server in presence of
+ config error. [Joe Orton]
+
*) mod_ssl: when compiled against OpenSSL 1.0.1 or later, allow explicit
control of TLSv1.1 and TLSv1.2 through the SSLProtocol directive,
adding TLSv1.1 and TLSv1.2 support by default given 'SSLProtocol All'.
2.2.x patch: trunk patch applies
+1: rjung, trawick, wrowe
- * core: Bail out *before* signalling the server if the config is bad.
- (as per the claim in the docs!) Prevents "httpd -k restart" from
- killing server in presence of config error.
- trunk patch: http://svn.apache.org/viewvc?view=revision&revision=1328345
- 2.4.x patch: http://svn.apache.org/viewvc?view=revision&revision=1331847
- 2.2.x patch: trunk patch applies
- +1: rjung, trawick, wrowe
-
PATCHES PROPOSED TO BACKPORT FROM TRUNK:
[ New proposals should be added at the end of the list ]
}
}
+ /* 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, server_conf) != OK) {