You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by nd...@apache.org on 2004/04/03 22:50:00 UTC

cvs commit: httpd-2.0/modules/loggers mod_logio.c

nd          2004/04/03 12:50:00

  Modified:    .        CHANGES
               modules/loggers mod_logio.c
  Log:
  no longer remove the EOS bucket
  
  PR: 27928
  Submitted by: Bojan Smojver <bojan rexursive.com>
  
  Revision  Changes    Path
  1.1445    +3 -0      httpd-2.0/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/CHANGES,v
  retrieving revision 1.1444
  retrieving revision 1.1445
  diff -u -u -r1.1444 -r1.1445
  --- CHANGES	3 Apr 2004 20:29:37 -0000	1.1444
  +++ CHANGES	3 Apr 2004 20:50:00 -0000	1.1445
  @@ -2,6 +2,9 @@
   
     [Remove entries to the current 2.0 section below, when backported]
   
  +  *) mod_logio no longer removes the EOS bucket. PR 27928.
  +     [Bojan Smojver <bojan rexursive.com>]
  +
     *) mod_rewrite no longer turns forward proxy requests into reverse proxy
        requests. PR 28125  [ast domdv.de, Andr� Malo]
   
  
  
  
  1.8       +2 -4      httpd-2.0/modules/loggers/mod_logio.c
  
  Index: mod_logio.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/loggers/mod_logio.c,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -u -r1.7 -r1.8
  --- mod_logio.c	9 Feb 2004 20:29:20 -0000	1.7
  +++ mod_logio.c	3 Apr 2004 20:50:00 -0000	1.8
  @@ -127,10 +127,8 @@
   
       /* End of data, make sure we flush */
       if (APR_BUCKET_IS_EOS(b)) {
  -        APR_BRIGADE_INSERT_TAIL(bb,
  -                                apr_bucket_flush_create(f->c->bucket_alloc));
  -        APR_BUCKET_REMOVE(b);
  -        apr_bucket_destroy(b);
  +        APR_BUCKET_INSERT_BEFORE(b,
  +                                 apr_bucket_flush_create(f->c->bucket_alloc));
       }
   
       return ap_pass_brigade(f->next, bb);