[email protected] wrote:
Hello squid users, I have read the ICAP RFC but I cannot see a way to devise a 
ICAP query to the Squid server to extract ICAP information. It appears the 
squid 3.0.STABLE13 does not communicate with my ICAP server what-so-ever. I 
have run ./squid -N -X and the output shows all ICAP tags recognized including 
service vector points: echo, url_check, etc. This is a harsh way to test as I 
have to shutdown squid on my gateway just to do a test. Is there a real-time 
method to test Squid for ICAP communications using the squidclient? I can 
telnet to the ICAP server and get a response but I can't do the same connecting 
to squid. Please advise, David.

Ouch. Heres a few debugging tips I use to debug squid on a production gateway:

- build a _second_ instance of squid in a semi-jail, listening on different ports, etc than the live squid. This allows you to run tests on the secondary instance under the same conditions as live, but without affecting the main flow.

- use reload/reconfigure to action new configurations as much as possible. Restart is overkill on many changes.

Amos
--
Please be using
  Current Stable Squid 2.7.STABLE6 or 3.0.STABLE13
  Current Beta Squid 3.1.0.5

Reply via email to