httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@locus.apache.org
Subject cvs commit: apache-2.0/src/main http_request.c
Date Wed, 13 Sep 2000 22:24:47 GMT
rbb         00/09/13 15:24:47

  Modified:    src/main http_request.c
  Log:
  Fix another seg fault with allow_methods and sub requests
  
  Revision  Changes    Path
  1.47      +4 -0      apache-2.0/src/main/http_request.c
  
  Index: http_request.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/main/http_request.c,v
  retrieving revision 1.46
  retrieving revision 1.47
  diff -u -r1.46 -r1.47
  --- http_request.c	2000/09/13 21:45:21	1.46
  +++ http_request.c	2000/09/13 22:24:46	1.47
  @@ -772,6 +772,10 @@
       rnew->request_config = ap_create_request_config(rnew->pool);
       rnew->htaccess       = r->htaccess;
       rnew->per_dir_config = r->server->lookup_defaults;
  +    rnew->allowed_methods = ap_make_method_list(rnew->pool, 2);
  +
  +    /* make a copy of the allowed-methods list */
  +    ap_copy_method_list(rnew->allowed_methods, r->allowed_methods);
   
       /* start with the same set of output filters */
       rnew->filters = r->filters;
  
  
  

Mime
View raw message