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_core.c
Date Tue, 14 Nov 2000 04:22:04 GMT
rbb         00/11/13 20:22:04

  Modified:    src/main http_core.c
  Log:
  Associate a pool with the pool bucket so that it serves it's intended
  purpose.  This also moves the create_pool function outside of an if to
  decrease complexity.
  
  Revision  Changes    Path
  1.219     +1 -2      apache-2.0/src/main/http_core.c
  
  Index: http_core.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/main/http_core.c,v
  retrieving revision 1.218
  retrieving revision 1.219
  diff -u -r1.218 -r1.219
  --- http_core.c	2000/11/14 02:13:41	1.218
  +++ http_core.c	2000/11/14 04:22:03	1.219
  @@ -3056,12 +3056,11 @@
   
       if (pass_the_brigade) {
           /* Insert ctx->buf into the correct spot in the brigade */
  +        e = ap_bucket_create_pool(ctx->buf, ctx->cnt, p);
           if (insert_first) {
  -            e = ap_bucket_create_pool(ctx->buf, ctx->cnt, NULL);
               AP_BRIGADE_INSERT_HEAD(b, e);
           } 
           else if (insert_before) {
  -            e = ap_bucket_create_pool(ctx->buf, ctx->cnt, NULL);
               AP_BUCKET_INSERT_BEFORE(e, insert_before);
               AP_BUCKET_REMOVE(insert_before);
               ap_bucket_destroy(insert_before);
  
  
  

Mime
View raw message