From: Jim Jagielski Date: Wed, 5 Sep 2001 13:13:57 +0000 (+0000) Subject: Remove the 'drop-down-to-default-on-error' capability X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f5d968740c6386ca6dd396249189a99e1ec6f30b;p=thirdparty%2Fapache%2Fhttpd.git Remove the 'drop-down-to-default-on-error' capability if someone mistypes the directive... Be lenient in the HTTP spec, not in user input :) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@90900 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/main/http_main.c b/src/main/http_main.c index 3a7e148b9ef..e75debdcc65 100644 --- a/src/main/http_main.c +++ b/src/main/http_main.c @@ -1241,11 +1241,10 @@ char *ap_init_mutex_method(char *t) if (server_conf) { ap_log_error(APLOG_MARK, APLOG_NOERRNO|APLOG_NOTICE, server_conf, "Requested serialization method '%s' not available",t); - ap_log_error(APLOG_MARK, APLOG_NOERRNO|APLOG_NOTICE, server_conf, - "Using compiled-in default of '%s'", ap_default_mutex_method()); + exit(APEXIT_INIT); } else { fprintf(stderr, "Requested serialization method '%s' not available;\n", t); - fprintf(stderr, "Using compiled-in default of '%s'\n", ap_default_mutex_method()); + exit(APEXIT_INIT); } } return NULL;