Changes with Apache 2.0.41
+ *) Fix some bucket memory leaks in the chunking code
+ [Joe Schaefer <joe+apache@sunstarsys.com>]
+
*) Add ModMimeUsePathInfo directive. [Justin Erenkrantz]
*) mod_cache: added support for caching streamed responses (proxy,
ctx->remaining = get_chunk_size(line);
}
}
+ apr_brigade_cleanup(bb);
+
/* Detect chunksize error (such as overflow) */
if (rv != APR_SUCCESS || ctx->remaining < 0) {
ctx->remaining = 0; /* Reset it in case we have to
* come back here later */
- apr_brigade_cleanup(bb);
e = ap_bucket_error_create(HTTP_REQUEST_ENTITY_TOO_LARGE, NULL,
f->r->pool,
f->c->bucket_alloc);
ctx->remaining = get_chunk_size(line);
}
}
+ apr_brigade_cleanup(bb);
}
/* Detect chunksize error (such as overflow) */
if (rv != APR_SUCCESS || ctx->remaining < 0) {
ctx->remaining = 0; /* Reset it in case we have to
* come back here later */
- apr_brigade_cleanup(bb);
e = ap_bucket_error_create(HTTP_REQUEST_ENTITY_TOO_LARGE,
NULL, f->r->pool,
f->c->bucket_alloc);