diff options
Diffstat (limited to 'modules/http/byterange_filter.c')
-rw-r--r-- | modules/http/byterange_filter.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/http/byterange_filter.c b/modules/http/byterange_filter.c index c8dee1d356..9f7edeb742 100644 --- a/modules/http/byterange_filter.c +++ b/modules/http/byterange_filter.c @@ -613,9 +613,9 @@ static int ap_set_byterange(request_rec *r, apr_off_t clength, sum_lengths += oend - ostart + 1; num_ranges++; } - if (sum_lengths >= clength) { + if (sum_lengths > clength) { ap_log_rerror(APLOG_MARK, APLOG_TRACE1, 0, r, - "Sum of ranges not smaller than file, ignoring."); + "Sum of ranges larger than file, ignoring."); return 0; } |