Re: authenticate_program bombs out

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Mon, 26 Mar 2001 19:29:14 +0200

Sounds like you have forgotten to turn off output buffering in your
helper...

If the helper is written in C then

   setbuf(stdout, NULL);

should fix it.

Other languages might require other measurements to disable output
buffering.

--
Henrik Nordstrom
Squid hacker
mike wrote:
> but alas, i quickly rapped out a test authenticate_program according to my
> understanding, but it just causes squid to bomb out - process dies with the
> error:
> 
> FATAL: Too many queued authenticator requests
> Squid Cache (Version 2.3.STABLE4): Terminated abnormally.
> 
> now when i run the authenitcate program at a commandline, it works just
> fine.  the code is supposed to authenticate out of my SQL database - the
> back end to my radius dial-up service - and seems to do it nicely when i run
> it interactively.
Received on Mon Mar 26 2001 - 10:47:28 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:13:40 MST