thanks,
Yes. I've used setbuf( stdout, NULL);
I read your advice to other posters about stdout buffering, and though I had
forgotten in an earlier build, I have it in.
Squid also posts an "Access Denied" page to the browser.
WGS
>> ----- Original Message ----- From: "Henrik Nordstrom"
>> <hno@squid-cache.org>
>> To: "WGS" <tech@swiftriver.com>
>> Cc: <squid-users@squid-cache.org>
>> Sent: Thursday, October 21, 2004 5:00 PM
>> Subject: Re: [squid-users] Debugging an external acl helper that uses the
>> %SRC format
>>
>>
>>>
>>> On Thu, 21 Oct 2004, WGS wrote:
>>>
>>>> I'm working on an acl helper in c, that needs to access a pid file.
>>>>
>>>> The name of the file is the ip address of a client in dot notation.
>>>> Inside
>>>> the file is a username, and I want to pass to squid. I wrote an acl
>>>> helper, and setup external_acl_type to pass %SRC.
>>>>
>>>> SQUID never grants access to the client.
>>>
>>> Have you disabled stdio buffering? (could not see this in your source..)
>>>
>>> Regards
>>> Henrik
>>>
>>
>>
>
Received on Fri Oct 22 2004 - 03:13:00 MDT
This archive was generated by hypermail pre-2.1.9 : Mon Nov 01 2004 - 12:00:02 MST