Jesus Redrado:
> 
> 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){
>     /*..........*/
> }

AFAIK redirector cannot use buffered i/o.

M.
-- 
           Maciej Kozinski         http://www.uck.uni.torun.pl/~maciek/ 
           Remember: Un*x _IS_ user friendly... It's just selective about
                     who it's friends are.

Reply via email to