You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ji...@apache.org on 2001/09/05 15:13:58 UTC
cvs commit: apache-1.3/src/main http_main.c
jim 01/09/05 06:13:57
Modified: src/main http_main.c
Log:
Remove the 'drop-down-to-default-on-error' capability
if someone mistypes the directive... Be lenient in the HTTP spec,
not in user input :)
Revision Changes Path
1.548 +2 -3 apache-1.3/src/main/http_main.c
Index: http_main.c
===================================================================
RCS file: /home/cvs/apache-1.3/src/main/http_main.c,v
retrieving revision 1.547
retrieving revision 1.548
diff -u -r1.547 -r1.548
--- http_main.c 2001/09/04 18:15:15 1.547
+++ http_main.c 2001/09/05 13:13:57 1.548
@@ -1241,11 +1241,10 @@
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;