Re: [squid-users] Need help to build my own external help

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Tue, 17 Apr 2012 11:59:24 +1200

On 17.04.2012 03:42, Mohamed Amine Kadimi wrote:
> Hi,
>
> I reduced my program to that:
>
> ##########
> #include <stdio.h>
> #include <stdlib.h>
> #include <string.h>
> #define MAX_INPUT 8192
> int main(int argc, char **argv)
> {
> char request [MAX_INPUT];
> while (fgets(request, MAX_INPUT , stdin) != NULL)
> {
> printf ("OK\n");
> }
> return 0;
> }
>
> ##########
>
> But, I still get the same problem,

Then it is not Squid or the helper code.

There is some external factor preventing Squid either starting, or
using stdin/stdout to the helper.

Unless you are cross-compiling the helper somehow?

Amos
Received on Mon Apr 16 2012 - 23:59:28 MDT

This archive was generated by hypermail 2.2.0 : Tue Apr 17 2012 - 12:00:03 MDT