]> git.ipfire.org Git - thirdparty/squid.git/commit
Bug 3068: cache_dir capacity and usage overflows
authorAmos Jeffries <amosjeffries@squid-cache.org>
Fri, 1 Oct 2010 05:29:18 +0000 (23:29 -0600)
committerAmos Jeffries <amosjeffries@squid-cache.org>
Fri, 1 Oct 2010 05:29:18 +0000 (23:29 -0600)
commit6da430a4640e07dfae7ef7a4451acc2854817014
treed2f03b08e97b2c7cb841698736ab9ac103e41210
parentbd76482d6532f586c4689f8b35f3fc5620004933
Bug 3068: cache_dir capacity and usage overflows

Makes usage calculations use size_t instead of int and updates the
relevant fields storing the cache_dir capacity and usage fields as well.

This fixes Squid filling cache_dir with files >2GB in size.
Also allows Squid to store more than 2TB of data total in one dir.
src/SwapDir.h
src/fs/coss/store_dir_coss.cc
src/fs/ufs/store_dir_ufs.cc
src/store_dir.cc