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
Received on Wed May 11 2005 - 06:00:20 MDT
This archive was generated by hypermail pre-2.1.9 : Wed Jun 01 2005 - 12:00:02 MDT