httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject cvs commit: httpd-2.0/server protocol.c
Date Wed, 27 Feb 2002 21:16:19 GMT
ake         02/02/27 13:16:19

  Modified:    server   protocol.c
  Log:
  ownership of the brigade is passed in the ap_pass_brigade call
  so make sure that it doesn't get left lying around. This tickled
  a bug with mod_deflate and resulted in a bucket being compressed
  more than once.
  
  Revision  Changes    Path
  1.85      +3 -1      httpd-2.0/server/protocol.c
  
  Index: protocol.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/protocol.c,v
  retrieving revision 1.84
  retrieving revision 1.85
  diff -u -r1.84 -r1.85
  --- protocol.c	15 Feb 2002 01:17:53 -0000	1.84
  +++ protocol.c	27 Feb 2002 21:16:19 -0000	1.85
  @@ -1255,9 +1255,11 @@
            * pass the whole bundle down the chain. 
            */
           APR_BRIGADE_CONCAT(ctx->bb, bb);
  +        bb = ctx->bb;
  +        ctx->bb = NULL;
       }
   
  -    return ap_pass_brigade(f->next, ctx->bb);
  +    return ap_pass_brigade(f->next, bb);
   }
   
   static apr_status_t buffer_output(request_rec *r,
  
  
  

Mime
View raw message