Maciej Kozinski wrote:
>
> 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.
He isn't necessarily. file streams can be unbuffered.
D
Received on Wed Apr 28 1999 - 06:06:04 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:46:00 MST