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" <[EMAIL PROTECTED]>
To: "WGS" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
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








Reply via email to