]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Bug 5311: clarify configuration byte units (#1979)
authorFrancesco Chemolli <5175948+kinkie@users.noreply.github.com>
Thu, 9 Jan 2025 14:58:13 +0000 (14:58 +0000)
committerSquid Anubis <squid-anubis@squid-cache.org>
Fri, 10 Jan 2025 21:47:13 +0000 (21:47 +0000)
src/cf.data.pre

index 770ab0abfd8be9871773ad7a2f4327c5913aa536..db07d3f5f41059fdcc7e903c8c04315910cffa50 100644 (file)
@@ -51,9 +51,10 @@ COMMENT_START
 
        Units accepted by Squid are:
                bytes - byte
-               KB - Kilobyte (1024 bytes)
-               MB - Megabyte
-               GB - Gigabyte
+               KB - Kilobyte (2^10, 1'024 bytes)
+               MB - Megabyte (2^20, 1'048'576 bytes)
+               GB - Gigabyte (2^30, 1'073'741'824 bytes)
+       Squid does not yet support KiB, MiB, and GiB unit names.
 
   Values with time units