squid must be restarted after configuration change
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
squid (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: squid
I am using squid to server as an intermediary proxy on my work laptop. At home I have squid going directly to the internet, but at work I have it use my work's proxy as an upstream proxy for all requests. I also often switch from my wired (eth0) at work to my wireless (wlan0) at home.
When I go from work to home I use the switchconf package to update the squid configuration and tell squid to reload. I am doing this via:
/etc/init.d/squid force-reload
Although some connections seem to go through, squid seems to not respond for most requests. I am usually forced to run:
/etc/init.d/squid restart
This wouldn't be so bad if it didn't take 10-30 seconds to execute. According to the docs, it seems like the "force-reload" should work and there should be no reason to have to restart the proxy.
xubuntu: 7.10
squid: 2.6.14-1ubuntu2.1
switchconf: 0.0.6-1
Thats because a configuration change has been made and squid needs to be restarted in order for it to re-read the configuration file.