BUFF isn't used for output anymore.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86811
13f79535-47bb-0310-9956-
ffa450edef68
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 */
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);