From 651bcbe2c252c6ee6c0b09475e6dd2cd4a23d50d Mon Sep 17 00:00:00 2001 From: Ruediger Pluem Date: Thu, 25 Aug 2011 14:37:52 +0000 Subject: [PATCH] * We need to use > instead of >= as if end64 is the first byte of the next bucket we need to memorize this one and not the one before. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1161581 13f79535-47bb-0310-9956-ffa450edef68 --- modules/http/byterange_filter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/http/byterange_filter.c b/modules/http/byterange_filter.c index f55e4cc49f6..80328c9eddd 100644 --- a/modules/http/byterange_filter.c +++ b/modules/http/byterange_filter.c @@ -176,7 +176,7 @@ static apr_status_t copy_brigade_range(apr_bucket_brigade *bb, first = e; off_first = pos; } - if (!last && (elen64 + pos >= end64)) { + if (!last && (elen64 + pos > end64)) { last = e; off_last = pos; break; -- 2.47.3