Merge "Bring "egregious range request" comment in line with reality"
This commit is contained in:
commit
96164086f7
@ -586,7 +586,7 @@ class Range(object):
|
|||||||
#
|
#
|
||||||
# We're defining "egregious" here as:
|
# We're defining "egregious" here as:
|
||||||
#
|
#
|
||||||
# * more than 100 requested ranges OR
|
# * more than 50 requested ranges OR
|
||||||
# * more than 2 overlapping ranges OR
|
# * more than 2 overlapping ranges OR
|
||||||
# * more than 8 non-ascending-order ranges
|
# * more than 8 non-ascending-order ranges
|
||||||
if len(all_ranges) > MAX_RANGES:
|
if len(all_ranges) > MAX_RANGES:
|
||||||
|
Loading…
Reference in New Issue
Block a user