Jesus Redrado wrote:
> 
> Hi,
> 
> I've developed a redirector program using C/C++.
> 
> It works fine under Squid 1.1.22, but under Squid 2.1.PATCH2 and Squid
> 2.2.STABLE2 does not work.
> 
> It uses the following code to read from Squid:
> 
> while ( fgets(buffer,BUFFER_SIZE,stdin ) != NULL){
>     /*..........*/
> }
> 
> Some times, the buffer is "dirty".
> 
> By example, If I try access to http://www.yahoo.com , the buffer is filled
> with
>  @#@#pkw.yahoo.com
> 
> My platform is Red Hat Linux 5.2, glibc-2.0.27 and my compiler is eg++ 1.1.2
> 
> My redirector uses RPC and threads libraries ( but it works fine under Squid
> 1.1.22 )

Hmm. This is of some concern to me also, since I'm about to switch to
that version, and have a similar redirector. I'll enable my fascist
logging options before I do, and see if I can reproduce the problem.

D

Reply via email to