Questionable default 'range_offset_limit ' option

Joshua Rogers <[email protected]>
Newsgroups gmane.comp.web.squid.devel
Message-ID <CAOCwWhHjQGVWm33HrbqM2dUdCac1qee7ijsKm+s43SwNO0KUaw@mail.gmail.com>
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

_______________________________________________
squid-dev mailing list
[email protected]
http://lists.squid-cache.org/listinfo/squid-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.