Re: squid on multiple ports

From: Lincoln Dale <ltd@dont-contact.us>
Date: Thu, 22 May 1997 11:57:57 +1000 (EST)

At 06:57 22/05/97 +0800, you wrote:
>Had exactly the same error and Lincoln gave me the following changes for
>comm.c:
>...
>On line 1039 change
> if (fd == theHttpConnection)
> continue;
>
>to read:
> for (j=0; j < Config.Port.number_http; j++) {
> if (fd == theHttpConnection[j])
> continue;
> }

nope, i didn't say this one!

you want comm.c ~line 1039 to read:

            if (fd == theOutIcpConnection)
                continue;
            continueloop = 0;
            for (j=0;j<Config.Port.number_http;j++) {
                if (fd == theHttpConnection[j])
                    continueloop = 1;
            }
            if (continueloop)
                continue;

it would appear as if the patch listed at
http://squid.nlanr.net/Squid/1.1/1.1.10/multiple-ports.patch is incomplete.
i'll resend a 1.10 patch to Duane.

cheers,

lincoln.
Received on Wed May 21 1997 - 19:04:55 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:35:14 MST