httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bri...@apache.org
Subject cvs commit: httpd-2.0/modules/filters mod_include.c
Date Sat, 08 Dec 2001 03:14:51 GMT
brianp      01/12/07 19:14:51

  Modified:    modules/filters mod_include.c
  Log:
  Switched from heap bucket to pool bucket for SSI echo directive
  
  Revision  Changes    Path
  1.166     +2 -2      httpd-2.0/modules/filters/mod_include.c
  
  Index: mod_include.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/filters/mod_include.c,v
  retrieving revision 1.165
  retrieving revision 1.166
  diff -u -r1.165 -r1.166
  --- mod_include.c	2001/12/07 03:59:29	1.165
  +++ mod_include.c	2001/12/08 03:14:50	1.166
  @@ -1201,8 +1201,8 @@
                       }
   
                       e_len = strlen(echo_text);
  -                    /* XXX: it'd probably be nice to use a pool bucket here */
  -                    tmp_buck = apr_bucket_heap_create(echo_text, e_len, 1);
  +                    tmp_buck = apr_bucket_pool_create(echo_text, e_len,
  +                                                      r->pool);
                   }
                   else {
                       tmp_buck = apr_bucket_immortal_create("(none)", 
  
  
  

Mime
View raw message