From c9e854c7fb93ceab98f79719c3316f0968fb823b Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Sat, 7 Nov 2026 19:05:40 -1000 Subject: Test a cache-max-slot-size of 0 and below No test set either value, so a size check that took 0 as a limit of no bytes, or a parser that ignored such a value, passed. Under the 64 MB default an ignored value still keeps the big page, so each one follows a limit the page is past. --- MANUAL.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'MANUAL.txt') diff --git a/MANUAL.txt b/MANUAL.txt index 8b3eefa..a23423e 100644 --- a/MANUAL.txt +++ b/MANUAL.txt @@ -82,8 +82,9 @@ cache-index-ttl:: cache-max-slot-size:: Number which specifies the largest response, in kilobytes, that a cache slot may keep. A larger response is still served but not kept, which - caps the cache directory at about cache-size times this. Set to "0" to - remove the limit. Default value: "65536" (64 MB). See also: "The cache". + caps the cache directory at about cache-size times this. Set to "0", or + any negative value, to remove the limit. Default value: "65536" (64 MB). + See also: "The cache". cache-root:: Path used to store the cgit cache entries. A scan-path keeps its cached -- cgit 2.12.1