Re: [icap] if reqmod <> 204 - no respmod is sent by squid ?

2007-11-13 Thread Yannick Simon
On 11/12/07, Alex Rousskov <[EMAIL PROTECTED]> wrote:
>
> Squid should do a RESPMOD if it is configured to do a RESPMOD and the
> response from the server matches the corresponding ACL. This logic is
> unrelated to REQMOD, except in request satisfaction cases (but you are
> not doing request satisfaction above).
>
> If you believe this is a bug, please file a bug report and attach a
> cache.log with full debugging turned on during the entire buggy HTTP
> transaction (debug_options ALL,9).
>
> Thank you,
>
> Alex.
>
>
>

Hello

my pb is solved

the reason was only that squid had been caching the first respmod ! ;-)))

Y


Re: [icap] if reqmod <> 204 - no respmod is sent by squid ?

2007-11-12 Thread Alex Rousskov
On Sun, 2007-11-11 at 17:33 -0500, Yannick Simon wrote:
> Hello
> 
> i wrote a little perl icap server
> 
> when i issue a 204 response code on a reqmod, squid 3 make a respmod
> when i issue a 200 response code on a reqmod, my squid 3 doesn't make a 
> respmod
> 
> here is the result of the reqmod i am sending to squid 3
> 
> ICAP/1.0 200 OK
> ISTAG: "001-000-01"
> Encapsulated: req-hdr=0, null-body=457
> Date: Sun, 11 Nov 2007 22:30:31 GMT
> Connection: close
> Server: ICAP-Server-Software-By-YS/1.0
> 
> GET http://127.0.0.1/b.txt HTTP/1.1
> Host: 127.0.0.1
> User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.6)
> Gecko/20061201 Firefox/2.0.0.6 (Ubuntu-feisty)
> Accept: 
> text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
> Accept-Language: fr,fr-fr;q=0.8,en-us;q=0.5,en;q=0.3
> Accept-Encoding: gzip,deflate
> Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
> Keep-Alive: 300
> Proxy-Connection: keep-alive
> 
> 
> is this "normal" that squid3 doesn't make a reqmod after this  ?

Squid should do a RESPMOD if it is configured to do a RESPMOD and the
response from the server matches the corresponding ACL. This logic is
unrelated to REQMOD, except in request satisfaction cases (but you are
not doing request satisfaction above).

If you believe this is a bug, please file a bug report and attach a
cache.log with full debugging turned on during the entire buggy HTTP
transaction (debug_options ALL,9).

Thank you,

Alex.




[icap] if reqmod <> 204 - no respmod is sent by squid ?

2007-11-11 Thread Yannick Simon
Hello

i wrote a little perl icap server

when i issue a 204 response code on a reqmod, squid 3 make a respmod
when i issue a 200 response code on a reqmod, my squid 3 doesn't make a respmod

here is the result of the reqmod i am sending to squid 3

ICAP/1.0 200 OK
ISTAG: "001-000-01"
Encapsulated: req-hdr=0, null-body=457
Date: Sun, 11 Nov 2007 22:30:31 GMT
Connection: close
Server: ICAP-Server-Software-By-YS/1.0

GET http://127.0.0.1/b.txt HTTP/1.1
Host: 127.0.0.1
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.6)
Gecko/20061201 Firefox/2.0.0.6 (Ubuntu-feisty)
Accept: 
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: fr,fr-fr;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Proxy-Connection: keep-alive


is this "normal" that squid3 doesn't make a reqmod after this  ?

Y