On Wed, 11 May 2005, Chris Knipe wrote:

Basically, what happens is that squid prompts for my username and password, yet,
after I enter them, squid just sits there.  Error log / access log shows 
nothing,
and the browser eventually times out.  This is with squid 2.5-STABLE9

The usual cause to this is if you forgot to disable output buffering in your custom authenticator program. The UNIX libc by default buffers output.


In perl:

 $|=1;

In C:

 setbuf(stdout, NULL);


Other languages may require similar actions.


Note: shell scripts do not buffer their output.


Regards Henrik



Reply via email to