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 http_protocol.c
Date Thu, 02 Nov 2000 22:53:58 GMT
rbb         00/11/02 14:53:57

  Modified:    src/main http_core.c http_protocol.c
  Log:
  It doesn't make any sense to set a CHUNK flag in the BUFF, because the
  BUFF isn't used for output anymore.
  
  Revision  Changes    Path
  1.196     +0 -8      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.195
  retrieving revision 1.196
  diff -u -r1.195 -r1.196
  --- http_core.c	2000/11/02 21:31:37	1.195
  +++ http_core.c	2000/11/02 22:53:56	1.196
  @@ -3394,14 +3394,6 @@
           ctx->b = NULL;
       }
   
  -    /* Hijack any bytes in BUFF and prepend it to the brigade. */
  -    if (c->client->outcnt) {
  -        e = ap_bucket_create_pool(c->client->outbase,
  -                                  c->client->outcnt, c->client->pool);
  -        c->client->outcnt = 0;
  -        AP_BRIGADE_INSERT_HEAD(b, e);
  -    }
  -
       /* Iterate over the brigade collecting iovecs */
       while (b) {
           nbytes = 0; /* in case more points to another brigade */
  
  
  
  1.222     +0 -4      apache-2.0/src/main/http_protocol.c
  
  Index: http_protocol.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/main/http_protocol.c,v
  retrieving revision 1.221
  retrieving revision 1.222
  diff -u -r1.221 -r1.222
  --- http_protocol.c	2000/11/02 21:10:29	1.221
  +++ http_protocol.c	2000/11/02 22:53:57	1.222
  @@ -2418,10 +2418,6 @@
       ap_bsetopt(r->connection->client, BO_BYTECT, &zero);
       r->sent_bodyct = 1;         /* Whatever follows is real body stuff... */
   
  -    /* Set buffer flags for the body */
  -    if (r->chunked) {
  -        ap_bsetflag(r->connection->client, B_CHUNK, 1);
  -    }
       b2 = ap_brigade_create(r->pool);
       e = ap_bucket_create_pool(buff_start, strlen(buff_start), r->pool);
       AP_BRIGADE_INSERT_HEAD(b2, e);
  
  
  

Mime
View raw message