Re: [Fwd: Squid 2.6 STABLE 10 and ICAP]

From: Tsantilas Christos <chtsanti@dont-contact.us>
Date: Thu, 15 Mar 2007 09:11:08 +0200

Hi,
   I downloaded the latest icap patch and squid-2.6STABLE10 and applied
the patch.
The only problem I saw is the rejects in client_side.c
Maybe you are using an older patch...

Please download again the icap-patch and apply it again.

Then correct the client_side.c using the following patch:
--- client_side.c.wrong 2007-03-15 08:58:30.000000000 +0200
+++ client_side.c 2007-03-15 08:36:10.000000000 +0200
@@ -3947,6 +3947,8 @@
            /* add to the client request queue */
            dlinkAddTail(http, &http->node, &conn->reqs);
            conn->nrequests++;
+ F->pconn.uses++;
+ F->pconn.type = 0;
            commSetTimeout(fd, Config.Timeout.lifetime,
clientLifetimeTimeout, http);
            if (parser_return_code < 0) {
                debug(33, 1) ("clientReadRequest: FD %d (%s:%d)
InvalidRequest\n", fd, fd_table[fd].ipaddr, fd_table[fd].remote_port);

I did not have the problem in http.c (and I am using OpenSuse 10.2 :-) )

I will try to be more careful in release STABLE11 ....

Regards,
     Christos

Henrik Nordstrom wrote:
> [moved to squid-dev where it belongs]
> -------- Vidarebefordrat meddelande --------
> Från: Philipp Lohr <lohr@rwi-essen.de>
> Till: squid-bugs@squid-cache.org
> Ämne: Squid 2.6 STABLE 10 and ICAP
> Datum: Fri, 9 Mar 2007 15:37:55 +0100
>
> Dear Squid Support Team,
>
> I'm an administrator in an economically research Institute in Germany and I
> try to implement the icap patch into squid 2.6 STABLE 2.6 but I don't know
> why it does not work.
>
> First of all I implement the patch with patch -p1 < icap-2.6.pach.
>
> after that it looks quite good
>
>
> Than I try continue with the bootstrap.sh followed by ./configure
> --enable--icap-support --prefix=/usr/local/squid26.
>
> That works to.
>
> But when I try to execute the "make" command I'll get this error:
>
> ..........................
Received on Thu Mar 15 2007 - 01:09:42 MDT

This archive was generated by hypermail pre-2.1.9 : Sun Apr 01 2007 - 12:00:01 MDT