Re: [squid-users] accel mode and peering (pt.2)

From: Duane Wessels <wessels@dont-contact.us>
Date: Fri, 7 Sep 2001 11:38:31 -0600 (MDT)

On Fri, 7 Sep 2001, Dave A King wrote:

> A couple of weeks back I asked the list about using ICP/digests to set up
> peering between caches in http accelerator mode. I got some useful feedback
> on the pros/cons and LB options, but I stumped a few on why I had no ICP
> traffic happening. After quite a while of trying different things to
> diagnose the problem, I came to find out that ICP appears to be completely
> disabled if accelerator mode is on. I'd like to know if there is any way to
> circumvent this behavior, or if ICP will ever work in accel mode.

Just comment out the lines in src/icp_v2.c and try it:

diff -u -r1.64.2.1 icp_v2.c
--- icp_v2.c 2001/01/12 00:51:49 1.64.2.1
+++ icp_v2.c 2001/09/07 17:37:38
@@ -407,8 +407,10 @@
     int x;
     socklen_t len;
     wordlist *s;
+#if DONT
     if (Config2.Accel.on && !Config.onoff.accel_with_proxy)
        return;
+#endif
     if ((port = Config.Port.icp) <= 0)
        return;
     enter_suid();
Received on Fri Sep 07 2001 - 11:38:32 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:02:05 MST