Diff for /parser3/src/targets/apache/mod_parser3.c between versions 1.16 and 1.22

version 1.16, 2013/07/24 21:38:43 version 1.22, 2021/01/20 16:48:34
Line 1 Line 1
 /** @file  /** @file
         Parser: apache 1.3 and 2.2 module          Parser: apache 1.3 and 2.2 module
   
         Copyright (c) 2001-2012 Art. Lebedev Studio (http://www.artlebedev.com)          Copyright (c) 2001-2020 Art. Lebedev Studio (http://www.artlebedev.com)
         Author: Alexandr Petrosian <paf@design.ru> (http://paf.design.ru)          Author: Alexandr Petrosian <paf@design.ru> (http://paf.design.ru)
 */  */
   
Line 79  static int parser_handler(request_rec *r Line 79  static int parser_handler(request_rec *r
                 return DECLINED;                  return DECLINED;
   
         if(is_threaded){          if(is_threaded){
                 const char *message="Parser3 module requires apache2-mpm-prefork";                  const char *message="Parser3 module requires 'a2enmod mpm_prefork'";
                 r->status=HTTP_INTERNAL_SERVER_ERROR;                  r->status=HTTP_INTERNAL_SERVER_ERROR;
                 r->content_type="text/plain";                  r->content_type="text/plain";
                 ap_rwrite(message, strlen(message), r);                  ap_rwrite(message, strlen(message), r);
Line 243  void pa_ap_log_rerror(const char *file, Line 243  void pa_ap_log_rerror(const char *file,
         str=va_arg(l, const char*);          str=va_arg(l, const char*);
         va_end(l);           va_end(l); 
   
         ap_log_rerror(file, line, level,          ap_log_rerror(file, line,
   #if (AP_SERVER_MAJORVERSION_NUMBER == 2) && (AP_SERVER_MINORVERSION_NUMBER >= 4)
                           APLOG_MODULE_INDEX,
   #endif
                           level,
 #ifdef STANDARD20_MODULE_STUFF  #ifdef STANDARD20_MODULE_STUFF
                         0,                          0,
 #endif  #endif
Line 258  void pa_ap_log_error(const char *file, i Line 262  void pa_ap_log_error(const char *file, i
         str=va_arg(l, const char*);          str=va_arg(l, const char*);
         va_end(l);           va_end(l); 
   
         ap_log_error(file, line, level,          ap_log_error(file, line,
   #if (AP_SERVER_MAJORVERSION_NUMBER == 2) && (AP_SERVER_MINORVERSION_NUMBER >= 4)
                           APLOG_MODULE_INDEX,
   #endif
                           level,
 #ifdef STANDARD20_MODULE_STUFF  #ifdef STANDARD20_MODULE_STUFF
                         0,                          0,
 #endif  #endif

Removed from v.1.16  
changed lines
  Added in v.1.22


E-mail: