]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Incremental merge from rproxy
authorhno <>
Sun, 16 Feb 2003 01:24:17 +0000 (01:24 +0000)
committerhno <>
Sun, 16 Feb 2003 01:24:17 +0000 (01:24 +0000)
remove the "hack" to have ICP disabled in accelerator only setups even if
icp_port is configured. This should be done by setting "icp_port 0", not
by the fact that Squid is configured as a reverse proxy.

Note: later merges from rproxy will remove the httpd_accel_* directives,
making the "accelerator vs proxy" boundary much thinner.

src/icp_v2.cc

index 3392b1e606d081e6042b988620da84c30431d1e7..e4ade56e461fac2e35d438ad635414c6836aa364 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: icp_v2.cc,v 1.76 2003/02/12 06:11:04 robertc Exp $
+ * $Id: icp_v2.cc,v 1.77 2003/02/15 18:24:17 hno Exp $
  *
  * DEBUG: section 12    Internet Cache Protocol
  * AUTHOR: Duane Wessels
@@ -548,8 +548,6 @@ icpConnectionsOpen(void)
     int x;
     socklen_t len;
     wordlist *s;
-    if (Config2.Accel.on && !Config.onoff.accel_with_proxy)
-       return;
     if ((port = Config.Port.icp) <= 0)
        return;
     enter_suid();