mirror of
https://github.com/apache/httpd.git
synced 2025-08-08 15:02:10 +03:00
Simplify a bit
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94945 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -2684,14 +2684,8 @@ AP_CORE_DECLARE_NONSTD(apr_status_t) ap_byterange_filter(ap_filter_t *f,
|
|||||||
return APR_SUCCESS;
|
return APR_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* If we have a saved brigade from a previous run, concat the passed
|
/* Prepend any earlier saved brigades. */
|
||||||
* brigade with our saved brigade. Otherwise just continue.
|
APR_BRIGADE_PREPEND(bb, ctx->bb);
|
||||||
*/
|
|
||||||
if (!APR_BRIGADE_EMPTY(ctx->bb)) {
|
|
||||||
APR_BRIGADE_CONCAT(ctx->bb, bb);
|
|
||||||
bb = ctx->bb;
|
|
||||||
}
|
|
||||||
apr_brigade_destroy(ctx->bb);
|
|
||||||
|
|
||||||
/* It is possible that we won't have a content length yet, so we have to
|
/* 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.
|
* compute the length before we can actually do the byterange work.
|
||||||
|
Reference in New Issue
Block a user