Bug #6489
closedSquid Reverse Proxy: Deleting an entry on the "Redirects" tab does not reload config
0%
Description
Deleting an entry on page "Package / Reverse Proxy Server: Redirects / Redirects" does not affect the running squid config.
The config is not regenerated, trying to use the "Save" button has no effect.
Updated by Chris Buechler almost 8 years ago
- Target version deleted (
2.3.2) - Affected Version changed from 2.3.1 to All
Updated by Kill Bill over 7 years ago
No idea how to reproduce. On save, squid_resync() is called [1] which in turn calls squid_resync_reverse() [2] which resyncs the redirects [3]. After all that is done, new squid.conf is written [4] and squid is restarted [5].
[1] https://github.com/pfsense/FreeBSD-ports/blob/devel/www/pfSense-pkg-squid/files/usr/local/pkg/squid_reverse_redir.xml#L170
[2] https://github.com/pfsense/FreeBSD-ports/blob/devel/www/pfSense-pkg-squid/files/usr/local/pkg/squid.inc#L1985
[3] https://github.com/pfsense/FreeBSD-ports/blob/devel/www/pfSense-pkg-squid/files/usr/local/pkg/squid_reverse.inc#L233
[4] https://github.com/pfsense/FreeBSD-ports/blob/devel/www/pfSense-pkg-squid/files/usr/local/pkg/squid.inc#L1996
[5] https://github.com/pfsense/FreeBSD-ports/blob/devel/www/pfSense-pkg-squid/files/usr/local/pkg/squid.inc#L2008
Works for me.