[squid-dev] Questionable default 'range_offset_limit ' option
Joshua Rogers
jrogers at opera.com
Fri Mar 19 05:13:43 UTC 2021
Hi there,
According to http://www.squid-cache.org/Doc/config/range_offset_limit/,
'range_offset_limit' is by default 'none'.
However in HttpRequest.cc, it says it is by default 0:
rangeOffsetLimit = 0; // default value for rangeOffsetLimit
and then in HttpHdrRange.cc:
if (limit == 0)
/* 0 == disabled */
return true;
if (-1 == limit)
/* 'none' == forced */
return false;
So is 'none' -1, or 0 in this case?:)
Cheers,
Josh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-dev/attachments/20210319/34172c1a/attachment.htm>
More information about the squid-dev
mailing list