English Forums > Development and Code Review

[SOLVED] Squid Page does not allow 0 Memory Cache

(1/2) > >>

tillsense:
Hi,

the configuration page of squid (cache settings) does not allow 0 to disable memory cache size in megabytes.

Squid.conf

--- Code: ---cache deny all
cache_mem 0
--- End code ---

Reference: http://www.squid-cache.org/Advisories/SQUID-2016_11.txt

cheers till

--------------------------------------------------------------------
OPNsense 17.1.b_66-amd64
FreeBSD 11.0-RELEASE-p5
OpenSSL 1.0.2j 26 Sep 2016

tillsense:
config screen:

franco:
Nice catch, how about instead writing these two lines by default when "Enable local cache" is disabled?

FWIW, 16.7.13 shipped the fixed Squid 3.5.23.

tillsense:
hi franco,

yes i think that would be a good preset!

cheers till

-------------------------------------
OPNsense 17.1.b_94-amd64
FreeBSD 11.0-RELEASE-p6
OpenSSL 1.0.2j 26 Sep 2016

franco:
Hi Till,

This should do the trick: https://github.com/opnsense/core/commit/d3e27cface8


Cheers,
Franco

Navigation

[0] Message Index

[#] Next page

Go to full version