From 815caa5657deb15a224bfbcb99de25208f43975c Mon Sep 17 00:00:00 2001 From: Greg Ames Date: Sat, 27 Aug 2011 20:11:16 +0000 Subject: [PATCH] reverting. got feedback that maybe we don't want to merge 4-5,1-2 into 1-5 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1162436 13f79535-47bb-0310-9956-ffa450edef68 --- modules/http/byterange_filter.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/modules/http/byterange_filter.c b/modules/http/byterange_filter.c index e132574d6b..046aa51d77 100644 --- a/modules/http/byterange_filter.c +++ b/modules/http/byterange_filter.c @@ -532,9 +532,7 @@ static int ap_set_byterange(request_rec *r, apr_off_t clength, } in_merge = 0; - AP_DEBUG_ASSERT((start <= end) && (ostart <= oend)); - - if (start-1 < oend) { + if (!(end <= ostart || start-1 >= oend)) { if (start < ostart) { ostart = start; reversals++; -- 2.49.0