httpProcessReplyHeader question

2007-02-13 Thread Adrian Chadd
There's this in httpProcessReplyHeader: hdr_size = headersEnd(httpState-reply_hdr.buf, hdr_len); if (hdr_size) hdr_len = hdr_size; if (hdr_len Config.maxReplyHeaderSize) { debug(11, 1) (httpProcessReplyHeader: Too large reply header\n); /*

Re: icap in squid3

2007-02-13 Thread Alex Rousskov
On Tue, 2007-02-13 at 08:09 +0100, Axel Westerhold wrote: One comment on a nice feature I would like to have but still considering for security reasons: When an ICAP Server requieres auth for user mapping to rules/policies you sometimes run into a problem with sources with can't auth or

Re: httpProcessReplyHeader question

2007-02-13 Thread Alex Rousskov
On Tue, 2007-02-13 at 19:45 +0800, Adrian Chadd wrote: There's this in httpProcessReplyHeader: hdr_size = headersEnd(httpState-reply_hdr.buf, hdr_len); if (hdr_size) hdr_len = hdr_size; if (hdr_len Config.maxReplyHeaderSize) { debug(11, 1)

Fwd: Send Ip address to authetication program

2007-02-13 Thread HHDirecto.Net
I want to modify squid for send ip addres to my basic authentication program (not only user an pass). I know I have to change it in auth_basic.c file. But how can I obtain the char * with IP adres for send it? I think it could be in auth_user_request_t struct of authenticateBasicStart

Re: httpProcessReplyHeader question

2007-02-13 Thread Henrik Nordstrom
tis 2007-02-13 klockan 19:45 +0800 skrev Adrian Chadd: Why is there a storeAppend with no http parse? No idea, but a guess is to bump the entry out of the inmem_hi == 0 condition.. What happens if you kill it? Regards Henrik signature.asc Description: Detta är en digitalt signerad

Re: Squid3 BodyReader changes

2007-02-13 Thread Alex Rousskov
Hi there, I have committed the BodyPipe changes described below (with a few modifications) to the squid3-icap branch. Using the new BodyPipe class, I was able to eliminate many ICAP-related classes and code complexities, not to mention a few memory leaks and bugs. I will be working on a