Hi..
We have two proxy proxy.seed.net.tw & ksproxy.seed.net.tw
I let ksproxy.seed.net.tw has a sibling to proxy.seed.net.tw.
But I found that there is a warning message in
cache.log:
97/10/07 14:37:43| WARNING: Forwarding loop detected for
'http://www.hinet
.net/hinet_v3/conv/img/train.gif'
97/10/07 14:37:43| --> 1.0 ksproxy.seed.net.tw:8080 (Squid/1.1.15)
In icp.c, squid use "strstr" to compare "t" and "ThisCache" :
if (strstr(t, ThisCache)) {
For our server, this "if" condition will be true.(squid think
proxy.seed.net.tw and ksproxy.seed.net.tw is similar.)
So I change this line to:
int thesame;
if ((thesame = strcmp(t, ThisCache))== 0) {
Is it correct and good for squid ?
Why does squid use "strstr" to compare "t" and "ThisCache" ?
-- Willis, Ching-Wei LIN cwlin@mozart.seed.net.tw. SeednetReceived on Tue Oct 07 1997 - 00:24:06 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:37:15 MST