httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jwool...@apache.org
Subject cvs commit: httpd-2.0/modules/http http_core.c
Date Mon, 25 Mar 2002 07:20:45 GMT
jwoolley    02/03/24 23:20:45

  Modified:    modules/http http_core.c
  Log:
  Fix a segfault because ap_method_registry_init() was never called unless
  ap_method_register() was called [ie, unless mod_dav was installed]
  
  Reported by: Brian Pane
  
  Revision  Changes    Path
  1.300     +1 -0      httpd-2.0/modules/http/http_core.c
  
  Index: http_core.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/http/http_core.c,v
  retrieving revision 1.299
  retrieving revision 1.300
  diff -u -d -u -r1.299 -r1.300
  --- http_core.c	13 Mar 2002 20:47:49 -0000	1.299
  +++ http_core.c	25 Mar 2002 07:20:45 -0000	1.300
  @@ -335,6 +335,7 @@
       ap_byterange_filter_handle =
           ap_register_output_filter("BYTERANGE", ap_byterange_filter,
                                     AP_FTYPE_PROTOCOL);
  +    ap_method_registry_init(p);
   }
   
   module AP_MODULE_DECLARE_DATA http_module = {
  
  
  

Mime
View raw message