]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Remove the 'drop-down-to-default-on-error' capability
authorJim Jagielski <jim@apache.org>
Wed, 5 Sep 2001 13:13:57 +0000 (13:13 +0000)
committerJim Jagielski <jim@apache.org>
Wed, 5 Sep 2001 13:13:57 +0000 (13:13 +0000)
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

src/main/http_main.c

index 3a7e148b9ef6d8334e7974a202f7a4809251e9dc..e75debdcc654ef0cf0b78e40d89f8ca8423b5891 100644 (file)
@@ -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;