From: Ruediger Pluem Date: Thu, 25 Aug 2011 14:37:52 +0000 (+0000) Subject: * We need to use > instead of >= as if end64 is the first byte of the next X-Git-Tag: 2.3.15~358 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=651bcbe2c252c6ee6c0b09475e6dd2cd4a23d50d;p=thirdparty%2Fapache%2Fhttpd.git * 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 --- 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;