Bonjour Jeremy,
Here is the answer I got, and I managed to patch squid correctly thanks
to it:
http://www.squid-cache.org/mail-archive/squid-users/200702/0143.html
Would you have a corrected patch ?
Because I am applying manually and it is a bit long and not obvious to
not make a mistake.
Hello,
I would like to give a try to the 2.6 branch of the ICAP patch and I
didn't manage to apply the patch available at:
http://devel.squid-cache.org/projects.html#icap
I tried on squid-2.6.STABLE9-20070220, squid-2.6.STABLE9 and
squid-2.6.STABLE8 without success.
Is there anywhere:
-
Tsantilas Christos a e'crit :
Hello Christos,
Maybe I was not clear on my last mail. Sorry.
You were but I forgot to mention that I tried what you adviced.
But in the same function replace the test:
if (icap->reqmod.http_entity.callback &&
icap->reqmod.http_entity.buf.size) {
Hi all,
Tsantilas Christos wrote :
If you are still looking for the solution, try the following patch in
icap_reqmod.c file. With this patch the icapReqModPassHttpBody function
called if the icap->reqmod.http_entity.buf.size is zero, and at this
phase can handle correctly, the case that the
Hello,
Thanks for you support.
I tried the patch from Tsantilas:
if (icap->chunk_size < 0)
icap->flags.reqmod_http_entity_eof = 1;
instead of:
if (icap->reqmod.http_entity.bytes_read >= icap->request->content_length)
icap->flags.reqmod_http_entity_eof = 1;
And that corrects
Henrik Nordstrom a écrit :
We have read enough data (27 bytes) to have all the body (as
content-length is 27), so we set the eof flag.
if (!icap->flags.reqmod_http_entity_eof)
commSetSelect(fd, COMM_SELECT_READ, icapReqModReadHttpBody,
icap, 0);
eof in ICAP is that 0 chunk... so
Hello,
I'm writing this message to introduce myself before subsbribing to this
mailing-list.
I am working for Alcove (http://www.alcove.fr) a french free software
company. Amongst other subjects we propose support on any free software
technology and we have some clients using Squid-ICAP and
easy patch to correct this problem as the
icapParseChunkedBody returns the correct length read !
The webwasher support sads this is "a misinterpreation of the Squid client".
What is your point of view ?
Cordialement,
Christophe Boyanique.
--
http://www.alcove.fr - Alcôve: L'informatique est libre !
15 avenue de l'Agent Sarre - 92700 Colombes
Tél : +33 1 46 49 25 00 - Fax : +33 1 46 49 25 01