httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject cvs commit: apache-1.3/src/main http_main.c
Date Wed, 05 Sep 2001 13:13:58 GMT
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;
  
  
  

Mime
View raw message