httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jwool...@apache.org
Subject cvs commit: httpd-2.0/modules/http http_protocol.c
Date Mon, 06 May 2002 08:14:53 GMT
jwoolley    02/05/06 01:14:53

  Modified:    modules/http http_protocol.c
  Log:
  Simplify a bit
  
  Revision  Changes    Path
  1.417     +2 -8      httpd-2.0/modules/http/http_protocol.c
  
  Index: http_protocol.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/http/http_protocol.c,v
  retrieving revision 1.416
  retrieving revision 1.417
  diff -u -d -u -r1.416 -r1.417
  --- http_protocol.c	6 May 2002 07:43:40 -0000	1.416
  +++ http_protocol.c	6 May 2002 08:14:52 -0000	1.417
  @@ -2684,14 +2684,8 @@
           return APR_SUCCESS;
       }
   
  -    /* If we have a saved brigade from a previous run, concat the passed
  -     * brigade with our saved brigade.  Otherwise just continue.
  -     */
  -    if (!APR_BRIGADE_EMPTY(ctx->bb)) {
  -        APR_BRIGADE_CONCAT(ctx->bb, bb);
  -        bb = ctx->bb;
  -    }
  -    apr_brigade_destroy(ctx->bb);
  +    /* Prepend any earlier saved brigades. */
  +    APR_BRIGADE_PREPEND(bb, ctx->bb);
   
       /* It is possible that we won't have a content length yet, so we have to
        * compute the length before we can actually do the byterange work.
  
  
  

Mime
View raw message